opensubscriber
   Find in this group all groups
 
Unknown more information…

o : oro-user@jakarta.apache.org 16 September 2005 • 5:17PM -0400

Named Subgroups
by Hannes Koller

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi,
I have been using ORO for some time and have encountered a problem. I
need to give names to Subgroups (Instead of (or in addition to) the
numbering that is done automatically). Is there a way to do something like

    (?<Day>\d{2})/(?<Month>\d{2})/(?<Year>\d{4})

which should produce  3 named subgroups  (Day, Month, Year)  and access
them in java like

       match.getGroup("Day")


Is a feature like this already implemented in ORO and I am missing it,
or is it planned for the near future? This would greatly ease my task. TIA

Hannes Koller


---------------------------------------------------------------------
To unsubscribe, e-mail: oro-user-unsubscribe@jaka...
For additional commands, e-mail: oro-user-help@jaka...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.