(?sx)applies the following effective flags to the remainder of the pattern: gmsx s modifier: single line. Allows a dot to match line terminators
x modifier: extended. Ignores unescaped whitespace and comments outside character classes
Comment: BD_textit_jnl
\\the literal \ (9210 / 1348 / 5C16)
itemthe literal text item (case sensitive) \sany whitespace character
.+?any character, repeated at least once
\.the literal . (4610 / 568 / 2E16)
\sany whitespace character
Comment: Authors
Negated Character Class[^\.]+? +?matches at least one character outside the set below:
\.the literal . (4610 / 568 / 2E16)
\.the literal . (4610 / 568 / 2E16)
\?the literal ? (6310 / 778 / 3F16)
\sany whitespace character
Comment: Atitle
\\the literal \ (9210 / 1348 / 5C16)
textit{the literal text textit{ (case sensitive) .+?any character, repeated at least once
}the literal } (12510 / 1758 / 7D16)
\.the literal . (4610 / 568 / 2E16)
\sany whitespace character
Comment: Jtitle
\da digit
\da digit
\da digit
\da digit
Non-Capturing Group(?:\s [A-z]+?)? ?repeats the group contents below at most once:
\sany whitespace character
+?matches at least one character from the set below:
A-zone character from A (6510) to z (12210) (case sensitive)
Comment: Year
\d+a digit, repeated at least once
Comment: Volume
Non-Capturing Group(?:\((\d+)\))? ?repeats the group contents below at most once:
\(the literal ( (4010 / 508 / 2816)
\d+a digit, repeated at least once
\)the literal ) (4110 / 518 / 2916)
\s*any whitespace character, repeated any number of times
Comment: Issue
Non-Capturing Group(?: :\s?([0-9A-z]+?) # fpage
(?:\$?[-–?]+\$?([0-9A-z]+?))? # lpage
)? ?repeats the group contents below at most once:
\s?optionally matches any whitespace character
Character Class[0-9A-z]+? +?matches at least one character from the set below:
0-9one character from 0 (4810) to 9 (5710)
A-zone character from A (6510) to z (12210) (case sensitive)
Comment: fpage
Non-Capturing Group(?:\$?[-–?]+\$?([0-9A-z]+?))? ?repeats the group contents below at most once:
\$?optionally matches the literal $ (3610 / 448 / 2416)
+matches at least one character from the set below:
-the literal - (4510 / 558 / 2D16)
–the literal – (821110 / 200238 / 201316)
?the literal ? (6310 / 778 / 3F16)
\$?optionally matches the literal $ (3610 / 448 / 2416)
Character Class[0-9A-z]+? +?matches at least one character from the set below:
0-9one character from 0 (4810) to 9 (5710)
A-zone character from A (6510) to z (12210) (case sensitive)
Comment: lpage
\.the literal . (4610 / 568 / 2E16)
Non-Capturing Group(?: \s(.+?)\.? )? ?repeats the group contents below at most once:
\sany whitespace character
.+?any character, repeated at least once
\.?optionally matches the literal . (4610 / 568 / 2E16)
\na line-feed (newline) character (ASCII 10)
Comment: Post
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string