So I thought
filter fld 1 with "[*"
would do the job, but that EMPTIES the field!?
Obviously this [ interferes with some REGEX mechanism of filter?
So what should I use now?

I think:

  filter fld 1 with "[[]*"

Should do the trick...

Basically, you can use '[...]' to 'escape' the operators in the wildcard pattern (i.e. *, [ and ?).

Hope this helps,


P.S. Wildcard patterns are a lot simpler than general regexes, but 'filter' can do both "filter ... with regex pattern ..." interprets the pattern the same as matchText/replaceText.

Mark Waddingham ~ ~
LiveCode: Everyone can create apps

use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to