MatchText

Mike Bonner bonnmike at gmail.com
Fri Oct 8 14:19:07 EDT 2010


A period matches any single char, an asterisk will match any number of
consecutive chars of the previous char.  IE, p* will match pppppppp  Since .
will match anything (with a couple exceptions), .* will match any
combination of digits/chars whatever.  To match text chars only you use sets
like so [a-zA-Z]* which will match any upper or lower case char and as many
more upper or lower case chars that follows in a row.

This page is a really good place to get a grip on the easier regex
http://www.regular-expressions.info/quickstart.html


On Fri, Oct 8, 2010 at 11:50 AM, Warren Kuhl <warrenkuhl at gmail.com> wrote:

> What is the syntax of the matchtext command to search a variable for
> multiple characters (".", "!" or "?").  If it contains any characters in my
> list, it returns a TRUE?
>
> I am able to get it working with one value...
>
> answer MatchText(tValue,"(\.)")
>
> Thanks for any help!
> Warren
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list