From 48cdd4c9a7bb9fc1a11e07d3ae099ddbc2247c38 Mon Sep 17 00:00:00 2001 From: Netkas Date: Fri, 27 Jan 2023 00:39:41 -0500 Subject: [PATCH] Updated README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index c91da20..7ec5eb5 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,9 @@ In this case, you can pass the `subcommand` argument to the ## Additional functionality +OptsLib also provides some additional functionality that +can be used to modify the way arguments are parsed. + ### getRegex() This method is used to return the regex pattern used to parse @@ -161,17 +164,24 @@ the arguments, you can modify the default pattern to suit your needs. \OptsLib\Parse::setRegex('/(?(?=-)-(?(?=-)-(?'bigflag'[^\\s=]+)|(?'smallflag'\\S))(?:\\s*=\\s*|\\s+)(?(?!-)(?(?=[\\\"\\'])((?