> Oh yeh, your right..
> 
> This should work though i think.
> 
> var r:RegExp = new RegExp(text, rexFlags);
> var result:Array;
> result = r.exec(s);
> result[0] = entire line.
> result[1] = first group.

Reply via email to