Slashes in regular expressions do not need to be escaped and do not terminate
the regular expression even without a preceding backslash.
Details
Details
- Reviewers
djasper
Diff Detail
Diff Detail
Paths
| Differential D13641
clang-format: [JS] handle character classes in regexes. ClosedPublic Authored by mprobst on Oct 11 2015, 5:04 PM.
Details
Summary Slashes in regular expressions do not need to be escaped and do not terminate
Diff Detail Event Timelinemprobst updated this object. djasper edited edge metadata. Comment Actionslooks good
This revision is now accepted and ready to land.Oct 11 2015, 8:16 PM
Revision Contents
Diff 37072 lib/Format/Format.cpp
unittests/Format/FormatTestJS.cpp
|
I think, we should just use bool here.