Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -12,11 +12,11 @@ extension op : String
|
|||
auto list := new ArrayList();
|
||||
|
||||
bool escaping := false;
|
||||
self.forEach:(ch)
|
||||
self.forEach::(ch)
|
||||
{
|
||||
if (escaping)
|
||||
{
|
||||
buffer.write:ch;
|
||||
buffer.write(ch);
|
||||
escaping := false
|
||||
}
|
||||
else if (ch == escape)
|
||||
|
|
@ -30,7 +30,7 @@ extension op : String
|
|||
}
|
||||
else
|
||||
{
|
||||
buffer.write:ch
|
||||
buffer.write(ch)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -42,5 +42,5 @@ const string testcase = "one^|uno||three^^^^|four^^^|^cuatro|";
|
|||
|
||||
public program()
|
||||
{
|
||||
testcase.tokenize("|", "^").forEach:printingLn
|
||||
testcase.tokenize("|", "^").forEach(printingLn)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue