01-25-2010, 02:21 AM
|
#8 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
It's in the wrong spot.
Regular expressions use delimiters; characters that tell the compiler where the expression starts, and where it ends. Common delimeters are /, ~ or #, though it can technically be anything you choose. In the example I provided, the delimiter is ~, so the compiler will see the expression as;
The expression modifiers, such as i, need to be placed after the closing delimiter.
|
|
|
|