public final class PatternMatchUtils extends ObjectSE
PatternMatchUtils とは異なり、ネガティブパターンマッチングのサポートも提供します。PatternMatchUtils| 修飾子と型 | メソッドと説明 |
|---|---|
static BooleanSE | smartMatch(StringSE str, StringSE... patterns) 提供されたパターンに対するパターンマッチング。否定('!')パターンもサポートします。 |
static BooleanSE | smartMatchIgnoreCase(StringSE str, StringSE... patterns) 大文字と小文字を区別せずに、提供されたパターンとのパターンマッチング。否定('!')パターンもサポートします。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic static BooleanSE smartMatchIgnoreCase(StringSE str, StringSE... patterns)
! シンボルで始まる名前を一致させるには、パターン定義で \ シンボルを前に付けてエスケープする必要があります。str - 一致する文字列。patterns - パターン。PatternMatchUtils.simpleMatch(String[], String)public static BooleanSE smartMatch(StringSE str, StringSE... patterns)
! シンボルで始まる名前を一致させるには、パターン定義で \ シンボルを前に付けてエスケープする必要があります。str - 一致する文字列。patterns - パターン。PatternMatchUtils.simpleMatch(String[], String)