Skip to content

Commit 012cefb

Browse files
authored
[re.grammar] Avoid monospace font for ordinary text. (#4074)
1 parent df88130 commit 012cefb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/regex.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3703,17 +3703,17 @@
37033703
In addition the following expressions shall be equivalent:
37043704

37053705
\begin{codeblock}
3706-
\d and [[:digit:]]
3706+
\d @\textnormal{and}@ [[:digit:]]
37073707

3708-
\D and [^[:digit:]]
3708+
\D @\textnormal{and}@ [^[:digit:]]
37093709

3710-
\s and [[:space:]]
3710+
\s @\textnormal{and}@ [[:space:]]
37113711

3712-
\S and [^[:space:]]
3712+
\S @\textnormal{and}@ [^[:space:]]
37133713

3714-
\w and [_[:alnum:]]
3714+
\w @\textnormal{and}@ [_[:alnum:]]
37153715

3716-
\W and [^_[:alnum:]]
3716+
\W @\textnormal{and}@ [^_[:alnum:]]
37173717
\end{codeblock}
37183718

37193719
\pnum

0 commit comments

Comments
 (0)