lookahead, lookahead not Full Description |
|
Syntaxlookahead pattern lookahead not pattern Purpose You can use process submit "Mary had a little lamb%n" find " " lookahead "little" output " tiny " This program outputs "Mary had a tiny little lamb". Without
You can also match any pattern which is not followed by a certain pattern using process submit "Mary had a little lamb%n" submit "Mary had a little horse%n" submit "Mary had a little pig%n" find "little " lookahead not "lamb" output "big " |