See all of customer list
Marc Paré
marc at marcpare.com
Fri Oct 29 22:41:57 EDT 2004
Maf. King a écrit :
>On Friday 29 Oct 2004 05:38, Marc Paré wrote:
>
>
>
>>I wonder why the use of the * is not used as the wildcard?
>>
>>Cheers
>>
>>Marc
>>
>>
>
>HI Marc,
>
>It is because (I assume) gnucash uses a regex library to do the pattern
>searches, and regexes are far more powerful (ie complicated) than shell *
>expansion.
>
>As a very quick pointer,
>
>. matches any one character
>? matches the preceeding character zero or more times
>* matches the preceeding element zero or more times.
>
>thus you have to specify what the * (or ?) will look for - in this case for
>showing all the vendor list in gc, you could just as happily use a regex like
>a? or Z* which will match zero or more instances of "a" (or "Z") in the
>vendor names.
>
>The . is just a quick way to match with any non-empty string.
>
>Maf.
>
>_______________________________________________
>gnucash-user mailing list
>gnucash-user at gnucash.org
>https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
>
>
Thanks for the note. I will play around with this as I am not that
familiar with regexes.
Cheers
Marc
More information about the gnucash-user
mailing list