I have a regular expression that matches <
preceded by another <
This is I am using (?<=<)<
and it works properly.
However, when I use the string-match
function to search for the pattern in a string, it throws an error.
Here is the code I am using:
(string-match "(?<=<)<" "Test<<2")
The error it shows:
ERROR: In procedure make-regexp:
ERROR: In procedure make-regexp: Invalid preceding regular expression
Does Scheme support lookbehind regex? If so, what am I doing wrong here? If not, is there a way I can make this work