hello everyone.
after making some tests with the $regsubex ident, with a friend, we figured out this problem:
Why does
//echo -a > $regsubex(Ga is Ga is Ga,/(is) (Ga)/g, > \t <)
returns
instead of returning
?
It returns the correct thing when using
//echo -a > $regsubex(Ga is Ga is Ga,/(is Ga)/g, > \t <)
Our questions are:
What's the difference between /(is) (Ga)/ and /(is Ga)/ ? (we know that in the second case there's only \1 which exists)
Why does it search differently in these 2 cases ?
Is there some weird manner the regexp library treats them ? If so, how ?
What's the exact definition of the options of the $regsubex ident ?
Subtext can also contain special markers where \0 = number of matches, \n = match number, \t = match text, \a = all match items, and \A which is a non-spaced version of \a
Can someone please, describe them in detail ? In the pcre.txt document, they are not present.
Thx in advance
