/(x*) *\+ *(x*) *= *\1\2|(x*)(x*) *- *\3 *= *\4/g

matches with these strings:

  • xxxxx+xxx=xxxxxxxx

  • xxxx - xx = xx

  • xxxxxxx + xxx= xxxxxxxxxx

  • xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - xxxxxxxxxxxxxxxxxxxxxxxxxxxxx = x

Aug 15, 2023, 11:30 AM
4 0 3

comments (single view)

oops there’s a rogue space, let me fix that

View all comments