matchText question
stephen barncard
stephenREVOLUTION2 at barncard.com
Wed Feb 25 16:50:14 EST 2015
On Wed, Feb 25, 2015 at 12:29 PM, Mike Bonner <bonnmike at 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*
More information about the use-livecode
mailing list