in reply to Using array slices during string matching
so you have this extra space that can match. To fix this, set the variable $" to the empty string:/([A B C D E]{5}[E F G H]{2})/
You may want to do this scoped, by using 'local'.$" = "";
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using array slices during string matching
by seaver (Pilgrim) on Oct 08, 2003 at 14:52 UTC |