We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9c92ba commit 3b7d8bcCopy full SHA for 3b7d8bc
1 file changed
solver/src/main/kotlin/org/ucfs/grammar/combinator/extension/StringExtension.kt
@@ -12,6 +12,7 @@ object StringExtension {
12
.fold(initial) { acc: Regexp, i: Term<String> -> Alternative.makeAlternative(acc, i) }
13
}
14
infix operator fun Regexp.times(other: String): Concat = Concat(head = this, Term(other))
15
+ infix operator fun Regexp.times(other: Regexp): Concat = Concat(head = this, other)
16
infix operator fun String.times(other: String): Concat = Concat(head = Term(this), Term(other))
17
infix operator fun String.times(other: Regexp): Concat = Concat(head = Term(this), other)
18
0 commit comments