- or download this
$obj->print(sprintf("Page %d - Section %d - %s",
$obj->current_page,
$obj->section->num,
$obj->section->name,
)
);
- or download this
BEFORE | AFTER | COMMENT
-------------+--------+----------------
...
| | in double quotes
'\\^(foo)' | \^(foo)| Confused with '\BAR'?
"\\^(foo)" | ^(foo) | Double quotes
- or download this
BEFORE | AFTER | COMMENT
-------------+--------+----------------
...
'^ ^(foo)' | ^ BAR | No need to escape
| ^ unless part of
| ^(foo) match.
- or download this
BEFORE | AFTER | COMMENT
-------------+--------+-----------------
...
| part of pattern
'^(^)^(foo)' | ^BAR | Explicit escape
'^^(^)(foo)' | ^^BAR | Or ^(^)^(^)^(foo)