On Jan 21, 2007, at 09:23, Robert Mann wrote:

but I just relized that it is also selecting any strings that have that
pattern, is there a way to only select exact matches?

Robert you just need to add a bit to the regular expression part to tell it that you want to match the entire string.

For example:

matchText("record_id","^record_id$")  -- returns true

But

matchText("orig_record_id","^record_id$")  -- returns false

The "^" at the start of the regex binds whatever follows to the very beginning of the string. The "$" at the end of the regex binds whatever comes before it to the very end of the string.

--gordy
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to