An exception that is thrown if a string contains a backslash (\) character that does not start a valid escape sequence.
An exception that is thrown if a string contains a backslash (\) character that does not start a valid escape sequence.
The index of the offending backslash character instr.
The offending string
Checks that the length of the given argumentargs is one less than the number ofparts supplied to theStringContext.
Checks that the length of the given argumentargs is one less than the number ofparts supplied to theStringContext.
IllegalArgumentExceptionif this is not the case.
Linear time glob-matching implementation.
Linear time glob-matching implementation. Adapted from https://research.swtch.com/glob
The input you wish to match against
The non-wildcard portions of the input pattern, separated by wildcards
None if there is no match, Some containing the sequence of matched wildcard strings if there is a match
Expands standard Scala escape sequences in a string.
Expands standard Scala escape sequences in a string. Escape sequences are: control:\b,\t,\n,\f,\r escape:\\,\",\'
A string that may contain escape sequences
The string with all escape sequences expanded.
Expands standard Scala escape sequences in a string.
Expands standard Scala escape sequences in a string. Escape sequences are: control:\b,\t,\n,\f,\r escape:\\,\",\'
A string that may contain escape sequences
The string with all escape sequences expanded.
[Since version 2.13.0]use processEscapes