check-regexp (GNU Source-highlight)
You simply pass as the first command line argument the regular expression and then the strings you want to try
It is crucial, in order to avoid shell substitutions, to enclose both the expression and the strings in single
The program then prints some information about the possibly successful matching.
In the output the what part represents the whole match, and the what[i] part represents the i-th marked
subexpression that matched.
The program also prints possible prefix and suffix.
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A
summary of options is included below.
Print help and exit
Print version and exit
check-regexp was written by Lorenzo Bettini <www.lorenzobettini.it>. This man page was written by Cesare
check-regexp 2.9 June 2008 CHECK-REGEXP(1)
All times are GMT -4. The time now is 09:04 AM.
Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.