Segment
A PathMatcher that matches if the unmatched path starts with a path segment. If so the path segment is extracted as a String.
Attributes
- Source
- PathMatcher.scala
- Graph
-
- Supertypes
- Self type
-
Segment.type
Members list
Value members
Inherited methods
Alias for slash.
Alias for slash.
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Turns this PathMatcher into one that matches a number of times (with the given separator) and potentially extracts a List of the underlying matcher's extractions. If less than min applications of the underlying matcher have succeeded the produced matcher fails, otherwise it matches up to the given max number of applications. Note that it won't fail even if more than max applications could succeed! The "surplus" path elements will simply be left unmatched.
Turns this PathMatcher into one that matches a number of times (with the given separator) and potentially extracts a List of the underlying matcher's extractions. If less than min applications of the underlying matcher have succeeded the produced matcher fails, otherwise it matches up to the given max number of applications. Note that it won't fail even if more than max applications could succeed! The "surplus" path elements will simply be left unmatched.
The result type depends on the type of the underlying matcher:
| If a `matcher` is of type | then `matcher.repeat(...)` is of type | |
| `PathMatcher0` | `PathMatcher0` | |
| `PathMatcher1[T]` | `PathMatcher1[List[T]` | |
| `PathMatcher[L :Tuple]` | `PathMatcher[List[L]]` |
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Same as repeat(min = count, max = count, separator = separator).
Same as repeat(min = count, max = count, separator = separator).
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Same as repeat(min = count, max = count).
Same as repeat(min = count, max = count).
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Operator alternative to PathMatchers.not
Operator alternative to PathMatchers.not
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala
Alias for or.
Alias for append.
Implicits
Inherited implicits
Attributes
- Inherited from:
- PathMatcher
- Source
- PathMatcher.scala