Skip to content

[intro.defs] Integrate [re.def]. #4288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions source/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@
iostream, and regular expression class templates.
\end{defnote}

\definition{collating element}{defns.regex.collating.element}
\indexdefn{collating element}%
sequence of one or more characters within the
current locale that collate as if they were a single character

\definition{component}{defns.component}
\defncontext{library}
\indexdefn{component}%
Expand Down Expand Up @@ -301,6 +306,19 @@
are expression-equivalent.
\end{example}

\definition{finite state machine}{defns.regex.finite.state.machine}
\defncontext{regular expression}
\indexdefn{finite state machine}%
unspecified data structure that is used to
represent a regular expression, and which permits efficient matches
against the regular expression to be obtained

\definition{format specifier}{defns.regex.format.specifier}
\defncontext{regular expression}
\indexdefn{format specifier}%
sequence of one or more characters that is to be
replaced with some part of a regular expression match

\definition{handler function}{defns.handler}
\defncontext{library}
\indexdefn{function!handler}%
Expand Down Expand Up @@ -354,6 +372,13 @@
behavior that depends on local conventions of nationality, culture, and
language that each implementation documents

\definition{matched}{defns.regex.matched}
\defncontext{regular expression}
\indexdefn{matched}%
\indexdefn{regular expression!matched}%
condition when a sequence of zero or more characters
correspond to a sequence of characters defined by the pattern

\definition{modifier function}{defns.modifier}
\defncontext{library}
\indexdefn{function!modifier}%
Expand Down Expand Up @@ -423,6 +448,14 @@
\definition{parameter}{defns.parameter.templ}
\defncontext{template} member of a \grammarterm{template-parameter-list}

\definition{primary equivalence class}{defns.regex.primary.equivalence.class}
\defncontext{regular expression}
\indexdefn{primary equivalence class}%
set of one or more characters which
share the same primary sort key: that is the sort key weighting that
depends only upon character shape, and not accents, case, or
locale specific tailorings

\definition{program-defined specialization}{defns.prog.def.spec}
\defncontext{library}
\indexdefn{specialization!program-defined}%
Expand Down Expand Up @@ -472,6 +505,10 @@
including reference types.
\end{defnote}

\definition{regular expression}{defns.regex.regular.expression}
pattern that selects specific strings
from a set of character strings

\definition{replacement function}{defns.replacement}
\defncontext{library}
\indexdefn{function!replacement}%
Expand Down Expand Up @@ -612,6 +649,12 @@
executing.
\end{defnote}

\definition{sub-expression}{defns.regex.subexpression}
\defncontext{regular expression}
\indexdefn{sub-expression!regular expression}%
subset of a regular expression that has
been marked by parentheses

\definition{traits class}{defns.traits}
\defncontext{library}
\indexdefn{traits}%
Expand Down
48 changes: 0 additions & 48 deletions source/regex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
enumerating regular expression matches, as summarized in \tref{re.summary}.

\begin{libsumtab}{Regular expressions library summary}{re.summary}
\ref{re.def} & Definitions & \\
\ref{re.req} & Requirements & \\ \rowsep
\ref{re.const} & Constants & \tcode{<regex>} \\
\ref{re.badexp} & Exception type & \\
Expand All @@ -34,53 +33,6 @@
\ref{re.grammar} & Grammar & \\
\end{libsumtab}


\rSec1[re.def]{Definitions}

\pnum
The following definitions shall apply to this Clause:

\indextext{collating element}%
\indextext{locale}%
\definition{collating element}{defns.regex.collating.element}
a sequence of one or more characters within the
current locale that collate as if they were a single character.

\indextext{finite state machine}%
\definition{finite state machine}{defns.regex.finite.state.machine}
an unspecified data structure that is used to
represent a regular expression, and which permits efficient matches
against the regular expression to be obtained.

\indextext{format specifier}%
\definition{format specifier}{defns.regex.format.specifier}
a sequence of one or more characters that is to be
replaced with some part of a regular expression match.

\indextext{matched}%
\indextext{regular expression!matched}%
\definition{matched}{defns.regex.matched}
a sequence of zero or more characters is matched by
a regular expression when the characters in the sequence
correspond to a sequence of characters defined by the pattern.

\indextext{primary equivalence class}%
\indextext{locale}%
\definition{primary equivalence class}{defns.regex.primary.equivalence.class}
a set of one or more characters which
share the same primary sort key: that is the sort key weighting that
depends only upon character shape, and not accents, case, or
locale specific tailorings.

\definition{regular expression}{defns.regex.regular.expression}
a pattern that selects specific strings
from a set of character strings.

\indextext{sub-expression!regular expression}%
\definition{sub-expression}{defns.regex.subexpression}
a subset of a regular expression that has
been marked by parenthesis.

\rSec1[re.req]{Requirements}

\pnum
Expand Down
2 changes: 2 additions & 0 deletions source/xrefdelta.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@
%\movedxrefiii{old.label}{new.label.1}{new.label.2}{new.label.3}
%\movedxrefs{old.label}{new place (eg \tref{blah})}

\movedxref{re.def}{intro.refs}

% Deprecated features.
%\deprxref{old.label} (if moved to depr.old.label, otherwise use \movedxref)