PHP regex backreference glitch -
After
want to parse the tags of the custom control in the MyBB posts.
The following PHP regex matches nothing.
# \ [modern = (["\"] (. *?) \ 1] (. *?) \ [/ Modern] # < P> Although it does one thing (added note in backref §) # \ [modern = (["\"]) (. *?) \ G1] (. *? ) [[Modern] # Along with this one seems to be overkill using one (name subpatterns)
# \ [modern = (& Gt; ['\'] as the P & LT; (?.?.? *) (P = number)] (*) \ [/ modern] # Edit: this is the regex [modern] [to get the part inside / modern] so 1 it can style or that it is normal Hide from Gkrtaon.
Is this an address that is messy or is missing something 1?
Thanks
Here you may want to:.
\ [modern = ([""]) (*?) \ 1 \] (*) \ [\ modern \] demo :?
Comments
Post a Comment