Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow regex replacement variables in HAO commands
The following variables are recognized in the command string of an Hercules Automatic Operator rule: $1 to $9 - the text which matched the 1st to 9th capturing group in the target regular expression $` - the text which precedes the regular expression match $' - the text which follows the regular expression match $$ - replaced by a single dollar sign Substitution of a $n variable does not occur if there are fewer than n capturing groups in the regular expression.
- Loading branch information
Showing
2 changed files
with
146 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters