Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
13
Task/String-matching/Ed/string-matching.ed
Normal file
13
Task/String-matching/Ed/string-matching.ed
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
H
|
||||
s/^/|/
|
||||
,j
|
||||
t0
|
||||
t0
|
||||
1s/^(.*)(.*)\|\1$/String \1\2 starts with \1/
|
||||
1s/^(.*)\|(.*)/String \1 does not start with \2/
|
||||
2s/^(.*)(.*)(.*)\|\2$/String \1\2\3 contains \2/
|
||||
2s/^(.*)\|(.*)/String \1 does not contain \2/
|
||||
3s/^(.*)(.*)\|\2$/String \1\2 ends with \2/
|
||||
3s/^(.*)\|(.*)/String \1 does not end with \2/
|
||||
,p
|
||||
Q
|
||||
Loading…
Add table
Add a link
Reference in a new issue