mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-29 14:32:51 -06:00
pattern matching on strings
This commit is contained in:
22
testsuite/compiler/compute/string_matching.gfs.gold
Normal file
22
testsuite/compiler/compute/string_matching.gfs.gold
Normal file
@@ -0,0 +1,22 @@
|
||||
"a" ++ "b" ++ "c"
|
||||
param_table.Q1
|
||||
param_table.Q2
|
||||
param_table.Q1
|
||||
param_table.Q2
|
||||
param_table.Q2
|
||||
param_table.Q1
|
||||
param_table.Q2
|
||||
param_table.Q1
|
||||
param_table.Q1
|
||||
param_table.Q2
|
||||
"start" ++ "abc" ++ "end"
|
||||
"start" ++ "xyz" ++ "end"
|
||||
"zero"
|
||||
"def"
|
||||
"?"
|
||||
"?"
|
||||
"c" ++ "def" ++ "g"
|
||||
"c" ++ "def" ++ "ghi"
|
||||
"abc" ++ "def" ++ "g"
|
||||
"abcdefghi"
|
||||
"abcdefghi"
|
||||
Reference in New Issue
Block a user