You can even include comments preceded by "#" if use (?x) as a mode modifier at the start of the regex.
On Wed Feb 25 2015 at 2:53:43 PM Mike Bonner <bonnm...@gmail.com> wrote: > Yes, it was to me too. Though, I did end up breaking it down into singles > and they all behaved the same, which made it easier to take a WAG. Less > wild than it would have otherwise been. Find the thing that's the same for > each part, and decide if its broke. > > On Wed, Feb 25, 2015 at 2:50 PM, stephen barncard < > stephenrevoluti...@barncard.com> wrote: > > > On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner <bonnm...@gmail.com> > wrote: > > > > > Try this instead.. > > > put "(?i)^\s*(\-\-\s+begin)\s+(\w+).*+|" & \ > > > "^\s*(on)\s+(\w+).*+|" & \ > > > "^\s*(function)\s+(\w+).*+|" & \ > > > "^\s*(command)\s+(\w+).*+|" & \ > > > "^\s*(private\s+function)\s+(\w+).*+|" & \ > > > "^\s*(private\s+command)\s+(\w+).*+|" & \ > > > "^\s*(\/\*\s+include).*+|" & \ > > > "^\s*(\*\/).*+" \ > > > into expr > > > > > > > breaking down and displaying complex REGEX this way is very helpful. > > > > *--* > > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode