diff options
author | Haru <haru@dotalux.com> | 2013-09-20 04:28:50 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-03-17 17:15:02 +0100 |
commit | 42da97d7979f5db56d50072dfd7787ebf549ab1b (patch) | |
tree | 8946b2b7e5319512b01c0116b20099d263d00196 /npc/re | |
parent | 1cf8ea92f8e8e992617addc371272c78e60df219 (diff) | |
download | hercules-42da97d7979f5db56d50072dfd7787ebf549ab1b.tar.gz hercules-42da97d7979f5db56d50072dfd7787ebf549ab1b.tar.bz2 hercules-42da97d7979f5db56d50072dfd7787ebf549ab1b.tar.xz hercules-42da97d7979f5db56d50072dfd7787ebf549ab1b.zip |
Added regular expression matching script commands and operators
- The script command pcre_match and the operator ~= will return the
number of regular expression matches in a given string (roughly
equivalent to the php function preg_match or the perl operator =~)
- The operator ~! is the opposite of ~= (roughly equivalent to the perl
operator !~)
- See script_commands and npc/custom/test.txt for more information.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re')
0 files changed, 0 insertions, 0 deletions