Regular Expressions 101

Community Patterns

Community Library Entry

-2

Regular Expression
Rust

r"
(([^\n:#]*)(?::([^\n#]+))?)(?:#([0-9A-Za-z]+)(?:\((\d+\.?\d*)\))?)?
"
g

Description

The regex to match a single pro forma modification with all its intricacies.

Submitted by Douwe Schulte - a year ago