You can save some eyesight by using single quotes: $pre='\*\*'
I also came up with: my @parts = split(/($pre{2,}.*?$post{2,})/,$text); Where $pre and $post are defined as a single character.
In reply to RE: RE: Re: regex question
by swiftone
in thread regex question
by joe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |