Best way to query for checks?

David Carlson carlson.dl at sbcglobal.net
Sat Feb 25 09:42:21 EST 2012


On 2/25/2012 8:17 AM, David Carlson wrote:
> On 2/24/2012 10:29 PM, dniezby wrote:
>> If I want to search for checks 2000 through 2013 what would be the best way
>> to query this?
>>
>> NUMBER matches REGEX ?
>>
>>
>>
>>
>> --
>> View this message in context: http://gnucash.1415818.n4.nabble.com/Best-way-to-query-for-checks-tp4419398p4419398.html
>> Sent from the GnuCash - User mailing list archive at Nabble.com.
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>
> 
> OK,
> I just did some research on regular expressions and found the website
> <http://www.regular-expressions.info/>.
> 
> regex is a text only tool and to exactly query that number range is
> possible but not trivial.  The expression 20[1-1][0-9] would get close.
> 
> David
> 
> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

Sorry, I meant The expression 20[0-1][0-9] would get close.

I personally am from the old school where expressions were mostly
numeric in nature, so I would never have guessed that regex was a text
tool.  This is really interesting!

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xDC7C8BF3.asc
Type: application/pgp-keys
Size: 1729 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20120225/911d8136/attachment-0001.bin>


More information about the gnucash-user mailing list