can match from the beginning to the end for$s =~ /^$re2$/;
andmy $s = 'couldsomeonerecommendaworkingperlmoduletosplitconcatenatedwor +ds';
## $re2 = (recommend|someone|working|module|words|split|comme|could|.. +.
In reply to Re^2: Splitting compound (concatenated) words )
by vit
in thread Splitting compound (concatenated) words )
by vit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |