go to previous page   go to home page   go to next page

Answer:

Yes.


Nesting Groups

Regular Expression
(Delimit with quotes)
String
(Delimit with quotes)

Rule 12:  Nesting Groups

Groups can be nested. For example, this regular expression:

(([RD]2)|([CPO]3?))+

corresponds to strings like:

R2D2       C3PO        R2OPC3

but not to strings like:

R23        CPDO        RDCPCP

You might want to test this in the applet.


QUESTION 10:

Does CPD2 match?