facepalm
This commit is contained in:
parent
f11b9b3e56
commit
4a35339c5b
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
class Klein {
|
class Klein {
|
||||||
public $code;
|
public $code;
|
||||||
|
|
||||||
function _construct($html) {
|
function __construct($html) {
|
||||||
$pattern = array_map(function ($grammar) {
|
$pattern = array_map(function ($grammar) {
|
||||||
list(, $result) = $grammar;
|
list(, $result) = $grammar;
|
||||||
$body = strtr($grammar[0], [' ' => "\s*", '+' => "\s+", ':var' => "(\w+(\s*\.\s*\w+)*)", ':id' => "(\w+)", '{{' => "{{\!?"]);
|
$body = strtr($grammar[0], [' ' => "\s*", '+' => "\s+", ':var' => "(\w+(\s*\.\s*\w+)*)", ':id' => "(\w+)", '{{' => "{{\!?"]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue