PHP RegExpr error Unkown modifier '('
Posted
by Anonymous
on Stack Overflow
See other posts from Stack Overflow
or by Anonymous
Published on 2010-05-22T14:44:21Z
Indexed on
2010/05/22
14:50 UTC
Read the original article
Hit count: 268
I have this regular expression:
([http://some.url.com/index.php?showtopic=\"]*)([0-9]+(?:\.[0-9]*)?)
its for extracting links to topics from forum
Now when i use it in my script
$url = "([http://some.url.com/index.php?showtopic=\"]*)([0-9]+(?:\.[0-9]*)?)";
preg_match_all spits: "Unknown modifier '('"
Can anyone help me with this obviously stupid problem
© Stack Overflow or respective owner