Skip to content

Commit

Permalink
Add or as separator (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoy committed Mar 13, 2024
2 parents 0d491e0 + 09833ef commit 737807b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/util/shared/src/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const replaceFractionsInText = (rawText: string): string => {
// Starts with [, anything inbetween, ends with ]
const headerRegexp = /^\[.*\]$/;

const multipartQuantifierRegexp = / \+ | plus /;
const multipartQuantifierRegexp = / \+ | plus | or /;

const measurementRegexp =
/((\d+ )?\d+([/.]\d+)?((-)|( to )|( - ))(\d+ )?\d+([/.]\d+)?)|((\d+ )?\d+[/.]\d+)|\d+/;
Expand Down

0 comments on commit 737807b

Please sign in to comment.