Php and python regexp difference?
- by Ajel
I need to parse a string 'Open URN: 100000 LA: ' and get 100000 from it.
on python regexp (?<=Open URN: )[0-9]+(?= LA:) works fine but in php it gives following error:
preg_match(): Unknown modifier '['
I need it working php, so please help me to solve this problem and tell about difference in python and php regexps.