Wildcards/Regular Expressions in WHERE clause - SIMILAR TO predicate [CORE769] #1151
Submitted by: @pcisar
Is related to QA292
A RegEx could be compiled and hence run faster against
Responding to rdifalco comments:
Your query can be formulated in standard SQL as:
More powerful RegExps are already in FB, see
This is a VERY cool thing about MySQL. It allows regular
For example, I can do:
some_text matches "ttl*.=*.1"
To match "ttl=1", "ttl =1", "ttl= 1", "ttl = 1", etc.
Wildcards are patterns, Regular Expressions are patterns,
How is this RegEx different to a CONTAINING clause?
select blah,.... from foo
Are you talking about wildcards?
A Regular Expression is a way of testing wether a string
The "like" clause in SQL today has a similar purpose,
In most implementations, a RegEx can be compiled to be
select * from employees where name matches '^[ab]';
would select all employees whose name starts with either a
Implementations of Regular Expressions for use in Unix
====== Test Details ======
See also test for CORE2006
The text was updated successfully, but these errors were encountered: