Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?:=|\$)(.*)=\s*eval
/
gm

Description

Regex for capturing LaTeX and passing it to a program, like sympy.

Submitted by anonymous - 3 years ago