Yes.
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.
Does CPD2 match?