I am studying about Perl regular expressions. I don't understand why

BIBI

New member
/^(c|a|t)+$/ would not match cathatcatcat? I may be misunderstanding the exact meaning of parenthesis or the | symbol or both! I would appreciate any helpful explanations.
 
Back
Top