Does REGEX differ from PHP to Python

Posted by daemonfire300 on Stack Overflow See other posts from Stack Overflow or by daemonfire300
Published on 2010-06-18T14:53:33Z Indexed on 2010/06/18 15:03 UTC
Read the original article Hit count: 460

Filed under:
|
|
|

hi there,

I found this post: http://stackoverflow.com/questions/118143/python-regex-vs-php-regex but I actually did not get if Python's REGEX syntax matches PHP's REGEX syntax.

I started to convert some of my old PHP code to python (due to g's appengine etc.), and now I would like to know whether the regex is 100% convertable, by simple copy & paste.

regards,

© Stack Overflow or respective owner

Related posts about php

Related posts about python