From 698c0a351018be83756f59f60c3aa0bc8ad4b790 Mon Sep 17 00:00:00 2001 From: Serguei Makarov Date: Wed, 5 Jun 2013 15:38:56 -0400 Subject: [PATCH] stapregex PR15064: update docs --- doc/langref.tex | 16 +++++++--------- man/stap.1 | 7 +++---- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/doc/langref.tex b/doc/langref.tex index 0504ece43..caf9016b4 100644 --- a/doc/langref.tex +++ b/doc/langref.tex @@ -1877,15 +1877,13 @@ it generates an error. The following subsections list these operators. \index{comparison} \texttt{< > <= >= == !=} \verb+=~+ \verb+!~+ -The regular expression matching (\verb+=~+ and \verb+!~+) is -currently an experimental feature. The second operand must be a string -literal containing a syntactically valid regular expression. The -regular expression syntax supports most of the features of POSIX -Extended Regular Expressions, aside from subexpression reuse -(\verb+\1+) and named character classes (\texttt{[:digit:]}, -\texttt{[:alpha:]}, ...). The ability to capture and extract the -contents of the matched string and subexpressions has not yet been -implemented. +The regular expression matching (\verb+=~+ and \verb+!~+) is currently +an experimental feature. The second operand must be a string literal +containing a syntactically valid regular expression. The regular +expression syntax supports most of the features of POSIX Extended +Regular Expressions, except for subexpression reuse (\verb+\1+) +functionality. The ability to capture and extract the contents of the +matched string and subexpressions has not yet been implemented. \subsubsection{Ternary operator\label{sub:Ternary-operator}} \index{?} diff --git a/man/stap.1 b/man/stap.1 index fa68dc9a9..f5c1e9e9d 100644 --- a/man/stap.1 +++ b/man/stap.1 @@ -1012,10 +1012,9 @@ second operand must be a string literal containing a syntactically valid regular expression.) .PP The regular expression syntax supports most of the features of POSIX -Extended Regular Expressions, aside from subexpression reuse ("\\1") -and named character classes ("[:digit:]", "[:alpha:]", ...). The -ability to capture and extract the contents of the matched string and -subexpressions has not yet been implemented. +Extended Regular Expressions, except for subexpression reuse ("\\1") +functionality. The ability to capture and extract the contents of the +matched string and subexpressions has not yet been implemented. .SS PROBES The main construct in the scripting language identifies probes. -- 2.43.5