【发布时间】:2015-10-13 20:03:29
【问题描述】:
我有以下模式的哈希
my %hash_table(
23 => someintegertype,
type => somestringtype,
12_someidentifier => someveryproblematictype
);
如何检查12_someidentifier 键遵循的模式是否存在于哈希中?如果是这样,我需要知道true或false形式的值。
::更新::
我想检查诸如{[\d]_[\w+]} 之类的正则表达式或模式是否存在?
【问题讨论】:
-
您缺少
=符号。