Regular Expressions 101

Community Patterns

1...567

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