Re: am I regexing by mistake?

2018-09-02 Thread Brian Milby via use-livecode
I will need to verify, but ‘?’ should match exactly one character, so Thanks, Brian On Sep 2, 2018, 3:44 AM -0500, David V Glasgow via use-livecode , wrote: > For the record, this was my stupidity, nothing to do with escaping wildcards. > Filter lines doesn’t treat a question mark as anything bu

Re: am I regexing by mistake?

2018-09-02 Thread David V Glasgow via use-livecode
For the record, this was my stupidity, nothing to do with escaping wildcards. Filter lines doesn’t treat a question mark as anything but text. The script I posted didn’t find 'asl?’ because I forgot to pre- and post- pend an asterisk before filtering. So, connected to wildcards, but I was de

Re: am I regexing by mistake?

2018-08-31 Thread David V Glasgow via use-livecode
Ah! So its just a wildcard! Brilliant. Why didn’t I think of that? I was wrongly barking up the Regex tree, and making things more complicated than needed. Thank you Brian. Cheers David G > On 31 Aug 2018, at 3:35 pm, Brian Milby via use-livecode > wrote: > > Need to put question mark

Re: am I regexing by mistake?

2018-08-31 Thread Brian Milby via use-livecode
Need to put question mark in brackets “[?]” when using wildcard filters if you want to match a literal question mark. Otherwise it signifies a single character match to anything. Thanks, Brian On Aug 31, 2018, 9:12 AM -0500, David V Glasgow via use-livecode , wrote: > Hello, folks. > > I am und

am I regexing by mistake?

2018-08-31 Thread David V Glasgow via use-livecode
Hello, folks. I am undertaking keyword searches of chat logs. The keywords are stored as themed lists in fields. One of the things I am interested in is finding lines where one contributor asks another about where they live, shop, go to school etc etc. So, (among other phrases) I filter for