I don't understand. Can you say which of the following cases are good candidates to divide string?
K R
K P
K any_other_char
P K
P R
P any_char
R K
R P
R any_char
I think look-ahead assertion will be the solution for your problem, but please asnwer above question first.
In reply to Re: cleaving a sequence with specific alphabets
by grizzley
in thread cleaving a sequence with specific alphabets
by heidi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |