The hyphen is usually a normal character in regular expressions. Only if it’s in a character class and between two other characters does it take a special meaning.
Thus:
[-]
matches a hyphen.
[abc-]
matches a
, b
, c
or a hyphen.
[-abc]
matches a
, b
, c
or a hyphen.
[ab-d]
matches a
, b
, c
or d
(only here the hyphen denotes a character range).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…