GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CHECK-REGEXP(1) User Commands CHECK-REGEXP(1)

check-regexp - test regular expressions from the command line

check-regexp 'regular expression' 'string1' 'string2' ...

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 to match.
It is crucial, in order to avoid shell substitutions, to enclose both the expression and the strings in single quotes.

The program then prints some information about the possibly successful matching.
In the output the what[0] 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.
-h, --help
Print help and exit
-V, --version
Print version and exit

check-regexp was written by Lorenzo Bettini <www.lorenzobettini.it>. This man page was written by Cesare Tirabassi <norsetto@ubuntu.com>.
June 2008 check-regexp 2.9

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.