Welcome to the Monastery | |
PerlMonks |
Regex - Delimiter questionby prasadbabu (Prior) |
on Sep 29, 2006 at 14:15 UTC ( [id://575533]=perlquestion: print w/replies, xml ) | Need Help?? |
prasadbabu has asked for the wisdom of the Perl Monks concerning the following question: Monks, today i was preparing question for beginners in regex. So to tell them, that we can use any delimiters for regex as per the documentation perlre, i chose the below question.
Very well I know that its not good using the delimiters like '.' etc. Before taking the question i tested this and found the odd answer. I expected 'abc' but i got 'bc.'. Where am i going wrong? I came with this question in CB and i was sent here. :-) Thanks in advance Prasad
Back to
Seekers of Perl Wisdom
|
|