Which regular expression engine does Java uses?
In a tool like RegexBuddy if I use
[a-z&&[^bc]]
that expression in Java is good but in RegexBuddy it has not been understood.
In fact it reports:
Match a single character present in
the list below [a-z&&[^bc]
- A character in the range between
a
and z
: a-z
- One of the characters
&[^bc
: &&[^bc
- Match the character
]
literally : ]
but i want to match a character between a
and z
intersected with a character that is not b
or c
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…