Regex delimiter problem
Posted: Sat Jun 21, 2003 10:45 am
Some delimiters chars wont work under windows.
Ex. in preg_match:
"°[a-z]?°"
works on linux but on windows you get a warning:
Warning: Unknown modifier '?' in ........ on line xx
"/[a-z]?/"
works on both systems
So my question is: Are there similar problems in other functions or circumstances where such chars pose a problem under windows?
Thanks,
Ex. in preg_match:
"°[a-z]?°"
works on linux but on windows you get a warning:
Warning: Unknown modifier '?' in ........ on line xx
"/[a-z]?/"
works on both systems
So my question is: Are there similar problems in other functions or circumstances where such chars pose a problem under windows?
Thanks,