Extracting code using RegEx and Python from a JavaScript function
I'm currently parsing some Gherkin files along with their associated step definition files. I'm wondering what the best way would be to extract the RegEx inside the step along with the code would be. For example, I have the following…