-
Notifications
You must be signed in to change notification settings - Fork 28
Indent/Dedent #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
more thinking:
foo: >
line 1
indented line
another
a bit less
and back
bar: 2 string: single_string | double_string | folded_string
# "\n\s*" -> " ", "''" -> "'"
single_string: /'([^']|'')*'/
# "\\\n\s*" -> "", "\n\s*" -> " ",
# then interpret escapes normally
double_string: /"([^"\\]|\\([\nnrfbt]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}))*"/
folded_string: />\s*/ INDENT text (KEEPDENT_LAZY text)* DEDENT |
See also #165 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: