1

In the java reference, the expression (?=X) is documented as

X, via zero-width positive lookahead

What does it mean, how does it work?

kgautron
  • 7,915
  • 9
  • 39
  • 60
  • 1
    In short: the char immediately to the right of the current location must be `X`, but do not put the `X` into the match value. Also, see [Mastering Lookahead and Lookbehind](http://www.rexegg.com/regex-lookarounds.html). – Wiktor Stribiżew Dec 16 '16 at 09:58

0 Answers0