Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Javaでは、次のようにして正規表現をテキストで送信できます
"mystring".matches("myregex")
matchesしかし、関数を a に評価する、使用できる特定の正規表現はありますfalseか? すべてのケースで機能する必要があります (つまり、テストする文字列に関係なく)。
matches
false
ありがとう。
なぜこれが必要なのかわかりませんが、これでうまくいくはずです
"mystring".matches("(?!)")