Sorts adjacent assertions such that lookbehinds are always to the right of lookaheads.
This is operation may be necessary for other transformers to pick up on certain patterns.
E.g. (?=a)(?!b)(?<!c)(?<=d) => (?<!c)(?<=d)(?=a)(?!b)
(?=a)(?!b)(?<!c)(?<=d)
(?<!c)(?<=d)(?=a)(?!b)
Optional
Sorts adjacent assertions such that lookbehinds are always to the right of lookaheads.
This is operation may be necessary for other transformers to pick up on certain patterns.
E.g.
(?=a)(?!b)(?<!c)(?<=d)
=>(?<!c)(?<=d)(?=a)(?!b)