Regular Expressions 101

Community Patterns

rustyms: pro forma single modification

-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 - 10 months ago