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
In reply to Re: Using array slices during string matching
by Abigail-II
in thread Using array slices during string matching
by seaver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |