#i am using regex to split this but i am getting wrong results. output: Answer You don’t actually need a regex for this:
Tag: sql-parser
capture pattern_X repeatedly, then capture pattern_Y once, then repeat until EOS
[update:] Accepted answer suggests, this can not be done with the python re library in one step. If you know otherwise, please comment. I’m reverse-engineering a massive ETL pipeline, I’d like to extract the full data lineage from stored procedures and views. I’m struggling with the followin…