mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
marsadm: regex for checking reserved names
This commit is contained in:
parent
7bb15152dc
commit
bea4b647fd
@ -27,6 +27,13 @@ use warnings;
|
||||
|
||||
umask 0077;
|
||||
|
||||
# regexes for scanning of reserved terminal symbol classes
|
||||
|
||||
use v5.10;
|
||||
|
||||
my $match_reserved_substr = qr'\(?(none|local|localhost)\)?';
|
||||
my $match_reserved_id = qr{^$match_reserved_substr$};
|
||||
|
||||
##################################################################
|
||||
|
||||
# global defaults
|
||||
|
Loading…
Reference in New Issue
Block a user