Re: [Flashcoders] captured or non-captured named group back references in AS3 regex

2010-06-23 Thread Anthony Pace
On 6/18/2010 1:07 PM, kennethkawam...@gmail.com wrote: I wasn't reading your post properly :) Have you tried (?P=name) ? (or you may want try \n) oops, sorry for not getting back to you. Thanks for the response. I figured it out too by looking in the docs. Having to type the stupid P

[Flashcoders] captured or non-captured named group back references in AS3 regex

2010-06-18 Thread Anthony Pace
I know you can have named groups, but are there named group back references in AS3? if so, do you have any examples of it working? it isn't working for me if I try \kname, \name The funny thing about this situation is that I know that you can access them after exec of a regex, and I wonder

Re: [Flashcoders] captured or non-captured named group back references in AS3 regex

2010-06-18 Thread kennethkawam...@gmail.com
(?Pnamegroup) Is this what you are looking for? -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 18 June 2010 15:39, Anthony Pace anthony.p...@utoronto.ca wrote: I know you can have named groups, but are there named group back references in AS3?  if so, do you have any examples of it

Re: [Flashcoders] captured or non-captured named group back references in AS3 regex

2010-06-18 Thread kennethkawam...@gmail.com
Can you access using result.name ? -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 18 June 2010 15:39, Anthony Pace anthony.p...@utoronto.ca wrote: I know you can have named groups, but are there named group back references in AS3?  if so, do you have any examples of it working? it

Re: [Flashcoders] captured or non-captured named group back references in AS3 regex

2010-06-18 Thread kennethkawam...@gmail.com
I wasn't reading your post properly :) Have you tried (?P=name) ? (or you may want try \n) -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 18 June 2010 15:39, Anthony Pace anthony.p...@utoronto.ca wrote: I know you can have named groups, but are there named group back references in AS3?