From c26c5fd649c821fcbd81bd077b46acdb71b01e80 Mon Sep 17 00:00:00 2001 From: Kate F Date: Sat, 17 Aug 2024 11:28:48 +0100 Subject: [PATCH] A little more progress on invocation. --- man/re.1/re.1.xml | 49 +++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/man/re.1/re.1.xml b/man/re.1/re.1.xml index 1e01795f9..ad5254348 100644 --- a/man/re.1/re.1.xml +++ b/man/re.1/re.1.xml @@ -53,7 +53,6 @@ -x"> -h"> - -v"> ]> @@ -174,9 +173,6 @@ query &h.opt; - @@ -189,6 +185,8 @@ query which are “executed” to match against input strings, or used to provide example strings which would match when given as input. + This tool provides an interface to the &re.3; &api;. + The &re.1; tool constructs a Finite State Machine from Regular Expression syntax. - -XXX: when executing, -strings are single or multiple with --. -can't we feed a string to stdin, too? -XXX: now with -x instead: Unlike &grep.1;, strings are matched from -command line arguments rather than &stdin.lit;. -TODO: with no strings to match, will just validate fsm instead. -validate is the wrong word - - + When executing, text to match is given either as strings + from command line arguments, or is given as filenames with &x.opt;. + Multiple arguments may be given using --. + Unlike &grep.1;, &re.1; does not read text from &stdin.lit;. + + With no text to match, &re.1; will just validate + + the pattern syntax instead. + + @@ -536,17 +538,6 @@ group (for dialects which have them) (rather than a "whole" regexp) - - &h.opt;