bonnmike at gmail.com
Wed Jan 7 04:17:59 CET 2015
Ah k. My mistake again, works with the simplified old filter, not the
current full regex filter.
On Tue, Jan 6, 2015 at 8:16 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> My mistake. Works with filter too. :)
> On Tue, Jan 6, 2015 at 8:13 PM, Mike Bonner <bonnmike at gmail.com> wrote:
>> The regex builder thats part of LC is pretty good for immediate feedback
>> too, and has the benefit that it can place (hopefull working) code into the
>> clipboard for pasting into script, after choosing matchtext or matchchunk.
>> (still helpful for figuring out the regex for filter, though no
>> autogenerated code) All you have to do after pasting is specify the
>> container of text to check. It is limited i'm sure, but is still pretty
>> darn helpful.
>> On Tue, Jan 6, 2015 at 7:05 PM, Kay C Lan <lan.kc.macmail at gmail.com>
>>> On Wed, Jan 7, 2015 at 12:44 AM, Bob Sneidar <
>>> bobsneidar at iotecdigital.com>
>>> > I read up on this, thinking that LC was implementing some substandard
>>> > regex functionality. Turns out this is the state of affairs in the
>>> > world.
>>> > I don't know where Pete was reading that certain regex characters are
>>> supported, and whilst I agree the Dictionary is very scarce with regex
>>> examples in the entry for matchText it states that LC uses the PCRE
>>> implementation of regex. Yes there are different flavours of regex which
>>> why I like this online regex tester:
>>> It allows you to select the flavour of regex you want to use; too many of
>>> This site has a load of example (if you click on the Community tab at the
>>> top) so in many cases you don't even have to write any regex as someone
>>> already written it for you. It's also nice that if you do write the regex
>>> yourself (or click on one of the examples) the Explanation box at top
>>> automatically fills with an explanation of what it's doing - which may or
>>> may not match what you're trying to achieve ;-)
>>> But best of all, unlike writing regex in LC which gives you no feedback
>>> all about your syntax, by using the online test you are given immediate
>>> feedback, i.e. if you enter the regex Pete listed in his original post
>>> online tester immediately highlights the opening bracket in red - and in
>>> the Explanation box it tells you that it's missing it's closing bracket.
>>> If it works on this website it will work in LC.
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
More information about the use-livecode