Relative Content

Tag Archive for pythonregexpython-polarstext-extraction

Parsing formulas efficiently using regex and Polars

I am trying to parse a series of mathematical formulas and need to extract variable names efficiently using Polars in Python.
Regex support in Polars seems to be limited, particularly with look-around assertions.
Is there a simple, efficient way to parse symbols from formulas?