PHP regex delimiter, what's the point?

Posted by Evan Fosmark on Stack Overflow See other posts from Stack Overflow or by Evan Fosmark
Published on 2009-01-27T05:16:21Z Indexed on 2010/03/19 1:41 UTC
Read the original article Hit count: 288

Filed under:
|

Why do PHP regexes have the surrounding delimiters? It seems like it would be more clear if any pattern modifiers were passed in as a parameter to whatever function was being used.

© Stack Overflow or respective owner

Related posts about php

Related posts about regex