-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: Add brief explanations to examples
These examples form the only quick reference material in the spec. While MDN goes into more depth, brief explanations of what is happening in this syntax don't take up much room and may make it easier to tell what's going on, especially with regexp parts. The example explaining pattern strings is also expanded to be explicit that regular expressions are enclosed in parentheses. Resolves #229.
- Loading branch information
1 parent
e249bb2
commit 20e4de9
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20e4de9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does the proposed addition of brief explanations to the URL pattern examples address the issue of making the specification more accessible to users who may not be familiar with regular expressions?
20e4de9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue this resolves was about it being clearer how regular expressions are delineated. Users who are not familiar with regular expressions can consult some of the excellent existing reference material available elsewhere online.