Test, validate and match regular expressions
This regular expression matches optional prefixes of '(-' or '|-' followed by an optional number that may contain a decimal point. It is designed to extract numbers and their associated prefixes from text across multiple lines. The global and multiline flags allow it to find all occurrences within the input string.