[thelist] None
throwaway at gmontague.co.uk
throwaway at gmontague.co.uk
Mon Dec 22 18:33:40 CST 2003
..and of course, just as I reply I find the solution.
To make a back reference followed by a literal number in php you explicity
var-quote the number of the back ref but not the '$'.
eg.
back ref 1 followed by 12 is
'${1}12'
back ref 11 followed by 2 is
'${11}2'
Seems counter intuitive to me but there's probably a good reason for it.
Thanks for reading my ramblings,
Gav
More information about the thelist
mailing list