chain: {string}\s*;\s*{string}
append: ^\s*{variable}\s*;\s*{expression}\s*$
To chain strings together (concatenation),
place a
semicolon between them.
To concat "This is an example."
from "This", " is an exa" and "mple.":
JS:
"This"+" is an exa"+"mple."
PHP:
"This"." is an exa"."mple."
Eas:
"This";" is an exa";"mple."
To
append to a string,
follow the variable with a semicolon
and an expression whose string result
shall be appended:
JS:
res+="You're logged in as "+name+".\n";
PHP:
$res.="You're logged in as ".$name.".\n";
Eas:
res ; "You're logged in as ";name;"."/