|
I really should take some time to get past the basis with regexp, but this look sooooo obscure to me that I never had the courage to....
And always succedded in using more str_replace, and it really keeps more readable, I think.
Your regexp is great, but if someone asked me to debug it, I would be lost.
Espacially the "'$1X$2$3'" part.
A backreference, isn't it ?
__________________
Listen to the ducky: "This is awesome!!!"
|