object PatternUtils
Utility functions to replace node-ignore regex patterns that use lookahead/lookbehind These patterns are not compatible with Java/Scala regex engines on both JVM and ScalaJS
- Alphabetic
- By Inheritance
- PatternUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addEndingPattern(source: String): String
Add ending pattern with conditional logic Replaces node-ignore ending pattern with replacement function logic
- def addStartingAnchor(source: String, originalPattern: String): String
Add starting anchor based on slash detection Replaces node-ignore lookahead pattern with conditional logic
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def replaceIntermediateWildcards(source: String): String
Replace intermediate wildcards with lookahead logic Replaces node-ignore wildcard pattern with lookahead
- def replaceQuestionMarks(source: String): String
Replace question marks with [/] but not escaped question marks Replaces node-ignore pattern: (?!\\)\? with [/]
- def replaceTrailingWildcard(source: String): String
Handle trailing wildcard pattern Replaces node-ignore trailing wildcard pattern
- def replaceTwoGlobstars(source: String): String
Replace two globstars double-star patterns Replaces node-ignore globstar pattern with lookahead
- def replaceUnescapePattern(source: String): String
Replace unescape pattern with lookahead logic Replaces node-ignore backslash escape pattern with lookahead
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)