Regex positive lookbehind not working

I’m using the simple mode addon, but cannot seem to use a regex with a positive lookbehind when defining rules. Nothing is highlighted as supposed to (you can try it here : regex101: build, test, and debug regex).

The object I’ve got is looking like this :

{
      regex: /(?<=.+)=$/gms,
      token: 'error',
},

I’ve read in the docs that the negative lookbehind isn’t supported, but what about the positive one, is this normal behavior ?

The regexp is matched on the slice of the content starting at the current parse position, so indeed, you can’t use lookbehind.

Alright, thank you for your answer. :slight_smile: