Common Regex patterns (to which I frequently refer)
This is a running list of patterns which I've noticed come up frequently (and I'm tired of rewriting just as frequently).
Math
- Value in decimal or scientific notation:
\-?\d*\.\d+(?:(?:e\-?\d+)|(?:(?:x|\*)\d+\^\-?\d+))?
Misc
Boolean parameter (ie. in QChem): (PARAMETER)\s*\=?\s*(true|false|0|1)