1
I have the following line in a php file
if(preg_match("!\oa!", $id)){
until a couple of months ago this worked normally but began to give this error
Warning: preg_match() [Function.preg-match]: Compilation failed: Missing Opening Brace after o at offset
anyone can tell me what’s going on ? I used some regular expression validators online and returned no errors.
tried to change to single quote?
– Guilherme Lautert
but it hasn’t solved
– Jasar Orion
try to change
!
for~
– Guilherme Lautert
What happened in those 2 months ? Upgraded php to another version?
– Daniel Omine
What is the purpose of this regex? what it should do?
– Guilherme Lautert