247
LPT: ChatGPT is incredible for generating and evaluating regex
(programming.dev)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
My biggest problem with it has been that it doesn't necessarily understand that some things are impossible - for example, variable-length lookbehinds.
That depends on the regex flavor. Some of them have full support for variable length lookbehinds, for example JavaScript and third-party
regex
module for Python.A variable length lookbehind is the same as the opposite of a variable length lookahead.