| Supertypes | |
|---|---|
| Self type |
An exception that is thrown if a string contains a backslash (\) character that does not start a valid escape sequence.
| Value parameters |
|
|---|
The names of the product elements
| Inherited from | Mirror |
|---|
The name of the type
| Inherited from | Mirror |
|---|
Checks that the length of the given argument args is one less than the number of parts supplied to the StringContext.
| Throws |
|
|---|
Linear time glob-matching implementation. Adapted from https://research.swtch.com/glob
| Value parameters |
|
|---|---|
| Returns | 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. Escape sequences are: control: \b, \t, \n, \f, \r escape: \\, \", \'
| Value parameters |
|
|---|---|
| Returns | The string with all escape sequences expanded. |
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/StringContext$.html