Well it doesn't matter as long as the dictionary contains DEF in the last entry.
That appears to conflict with your originally stated requirement that the first of the three letters matched is to be removed.
Should the string be modified, shouldn't it be modified, or does it not matter whether the string is modified or not?
In reply to Re^5: substitution in regular expression
by Anonymous Monk
in thread substitution in regular expression
by aeqr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |