Re: Regular Expression pattern group

2006-06-15 Thread Ant
> I am a fussy learner. Could someone explain to me why the following > inconsistency exists between methods? How can it be justified if it is > considered all right? It's the standard way of accessing groups from regex matches in pretty much all languages that support them. In most modern langua

Regular Expression pattern group

2006-06-14 Thread JH
Hi I am a fussy learner. Could someone explain to me why the following inconsistency exists between methods? How can it be justified if it is considered all right? There are three groups in pattern. However, match object shows 3 groups in collection, but group has to be indexed from one because t