haha
and for the answer to your question after I read it again.
The technique is called '*replacement codes* '.
Peace, Mike
On 1/23/07, Michael Schmalle <[EMAIL PROTECTED]> wrote:
Hi,
for example;
var p:RegExp = /<link\b[^>]*>(.*?)<\/link>/gi;
(.*?) is group $1
OR
var p:RegExp = /<([link])\b[^>]*>(.*?)<\/([link])>/gi;
$1 ([link])
$2 (.*?)
$3 ([link])
In the order the groups are processed.
String.replace() uses them. Check the docs for more info on groups.
Peace, Mike
On 1/23/07, Webdevotion < [EMAIL PROTECTED]> wrote:
>
> That's exactly what I needed!
>
> How do you call the $1 technique?
>
> Groups ?
>
> Thanks Mike !
>
>
--
Teoti Graphix
http://www.teotigraphix.com
Blog - Flex2Components
http://www.flex2components.com
You can find more by solving the problem then by 'asking the question'.
--
Teoti Graphix
http://www.teotigraphix.com
Blog - Flex2Components
http://www.flex2components.com
You can find more by solving the problem then by 'asking the question'.