You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Helper macro that simplify calling methods on objects. It work with chaining usage: (--> ($ \"body\") (css \"color\"\"red\") (on \"click\" (lambda () (display \"click\")))) (--> document (querySelectorAll \"div\")) (--> (fetch \"https://jcubic.pl\") (text) (match /<title>([^<]+)<\\/title>/) 1) (--> document (querySelectorAll \".cmd-prompt\") 0 \"innerText\")"
it have regex as string /<title>([^<]+)<\\/title>/, the escaped slash (for string) is ignored by the parser, so you can't execute that code if you use (help -->) and copy paste.
fix issue
write unit tests
The text was updated successfully, but these errors were encountered:
When --> docs is parsed
it have regex as string
/<title>([^<]+)<\\/title>/
, the escaped slash (for string) is ignored by the parser, so you can't execute that code if you use(help -->)
and copy paste.The text was updated successfully, but these errors were encountered: