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
OpenXPKI::Connector::Regex(3) User Contributed Perl Documentation OpenXPKI::Connector::Regex(3)

OpenXPKI::Connector::Regex;

In match mode (replace is not set), return literal 0|1 if the given argument(s) match the expression for any get call. In case multiple arguments are passed, all arguments must match to get a true result.

If get_hash is called, only a single argument is allowed. If matched, the value set in the value parameter is returned (default is the empty hash). If not matched, undef is returned (exception if die_on_undef is set).

If invert is set, the pattern match result is inverted - for each item! For multiple arguments this means you get a true result only of no value matches!

In replace mode (allowed with get only), the result of the substituion is returned, multiple arguments are not supported.

LOCATION
The regular expression to check against.
modifier
optional, default modifier is xi
replace
If set, the connector works in replace mode with the given value placed in the replace part of the perl substitution operator. "s{LOCATION}{replace}".

Only allowed with the get call.

value
Only used with get_hash call. Contains a hashref which is returned when the regex matched.
2022-05-14 perl v5.32.1

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

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