Hi Ivan,

On Mon, Dec 21, 2009 at 1:45 AM, Ivan Mikhailov
<[email protected]> wrote:
> Hello Aldo,
>
>> Do regular expressions in Virtuoso support labels aka named
>> subexpressions aka named capturing groups?
>
> Sorry, only "positional" capturing is supported, that is, equivalent of
> \1...\9 in sed. Offsets of fragments are placed into a vector in order
> of parentheses and that's all.

Gotcha. Luckily it also supports non-capturing groups by adding a ?:
after the opening parens.
This allows me to get back a pretty clean vector over which I can operate.

Thanks for the reply,
A

>
> Best Regards,
>
> Ivan Mikhailov
> OpenLink Software
> http://virtuoso.openlinksw.com
>
>
>



-- 
Aldo Bucchi
skype:aldo.bucchi
http://www.univrz.com/
http://aldobucchi.com/

PRIVILEGED AND CONFIDENTIAL INFORMATION
This message is only for the use of the individual or entity to which it is
addressed and may contain information that is privileged and confidential. If
you are not the intended recipient, please do not distribute or copy this
communication, by e-mail or otherwise. Instead, please notify us immediately by
return e-mail.

Reply via email to