Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[rule] mention that leading whitespace is ignored, PerlJam++

  • Loading branch information...
commit 856e7a1d6bd3fcbdb3893de17b70dc61ccafc581 1 parent 49e139e
Moritz Lenz moritz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  answers.md
3  answers.md
View
@@ -188,7 +188,8 @@ rule from backtracking.
modifer, which means a rule doesn't backtrace, and it treats
whitespace in the text of the regex as `<.ws>` calls (ie
matches whitespace, which is optional except between two word
-characters).
+characters). Whitespace at the start of the regex and at the start
+of each branch of an alternation is ignored.
`regex` declares a plain regex without any implied modifiers.
Please sign in to comment.
Something went wrong with that request. Please try again.