I think there's been discussions on the list before about the filter
command and the fact that it doesn't seem to support the full regexp
syntax, only the specific functionality described in the dictionary

Pete
lcSQL Software <http://www.lcsql.com>


On Wed, May 22, 2013 at 2:16 PM, Paul Dupuis <p...@researchware.com> wrote:

> The filter command in LiveCode appears to accept a regular expression
> (using ? for a single character match, * for multiple character match,
> [chars] and [char-char]). However, if you want to filter a container to
> a string where you pattern contains a question mark, it does not appear
> that you can escape the ? with \? in the pattern to have it treated as a
> "real" question mark instead of a wild card.
>
> While \? does not cause ? to be treated as a question mark instead of a
> wild card, using [?] does appear to treat it as a real character and not
> as a wild card.
>
> Does any one have any knowledge of escaping the special characters
> listed in the Dictionary? Or whether other regex special characters can
> be used beyond those listed?
>
> _______________________________________________
> 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

Reply via email to