What is the difference between a bound regular expression and an unreconfigured regular expression?

What is the difference between a bound regular expression and a non-reactive regular expression?

Usage found here :

... They should be specified as a list of pairs, where the first element is an un-anchored regex (in the syntax java.util.regex.Pattern) with which the platform name is mapped ...

+4
source share
1 answer

Unanchored regex , , ^ $ , , . . Java Matcher#find() , "a.c" "1.0 abc.". "^a.c$" "abc", "1.0 abc.".

, unanchored regex , , , , . . Java Matcher#matches() , , s.matches("a.c") "abc", "1.0 abc.".

, , .

. .

+4

Source: https://habr.com/ru/post/1671252/


All Articles