Skip to content

Commit

Permalink
[re.grammar] Avoid monospace font for ordinary text. (#4074)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eelis authored and zygoloid committed Sep 22, 2020
1 parent 8b50953 commit d24f40d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/regex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3705,17 +3705,17 @@
In addition the following expressions shall be equivalent:

\begin{codeblock}
\d and [[:digit:]]
\d @\textnormal{and}@ [[:digit:]]

\D and [^[:digit:]]
\D @\textnormal{and}@ [^[:digit:]]

\s and [[:space:]]
\s @\textnormal{and}@ [[:space:]]

\S and [^[:space:]]
\S @\textnormal{and}@ [^[:space:]]

\w and [_[:alnum:]]
\w @\textnormal{and}@ [_[:alnum:]]

\W and [^_[:alnum:]]
\W @\textnormal{and}@ [^_[:alnum:]]
\end{codeblock}

\pnum
Expand Down

0 comments on commit d24f40d

Please sign in to comment.