- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 276
Comparing changes
Open a pull request
base repository: slevithan/xregexp
base: v3.1.1
head repository: slevithan/xregexp
compare: v3.2.0
Commits on May 15, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 63273f9 - Browse repository at this point
Copy the full SHA 63273f9View commit details
Commits on Jul 19, 2016
-
Correctly escape closing square brackets in two regular expression li…
…terals. The Duktape JavaScript engine is very strict when it comes to regex literals. It was choking on two regexs in the XRegExp source. This commit correctly escapes two closing square brackets that should be escaped because they don't have an opening counterpart and they should be matched as a literal character.
Configuration menu - View commit details
-
Copy full SHA for f5dbc86 - Browse repository at this point
Copy the full SHA f5dbc86View commit details
Commits on Jul 20, 2016
-
Merge pull request #141 from jfahrenkrug/escape_regex_square_brackets
Correctly escape closing square brackets in two regular expression literals
Configuration menu - View commit details
-
Copy full SHA for ac800e6 - Browse repository at this point
Copy the full SHA ac800e6View commit details
Commits on Aug 7, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5329cbf - Browse repository at this point
Copy the full SHA 5329cbfView commit details -
follow-up on commit SHA-1: f5dbc86 (:: Correctly escape closing squar…
…e brackets in two regular expression literals.) --> one more regex with an escaped = *literal* square bracket.
Configuration menu - View commit details
-
Copy full SHA for 0a58dd3 - Browse repository at this point
Copy the full SHA 0a58dd3View commit details -
migrated performance tests to use latest BenchmarkJS v2.1.1 (which re…
…quires lodash and optional platform libraries to be loaded as well: these are included in the tests/vendor/benchmark.js/ directory)
Configuration menu - View commit details
-
Copy full SHA for 00ba16a - Browse repository at this point
Copy the full SHA 00ba16aView commit details
Commits on Aug 10, 2016
-
Merge pull request #142 from GerHobbelt/patch-typo-fix-1
typo fix in comment
Configuration menu - View commit details
-
Copy full SHA for 1f65356 - Browse repository at this point
Copy the full SHA 1f65356View commit details
Commits on Aug 29, 2016
-
Merge pull request #143 from GerHobbelt/patch-literal-brackets-followup
follow-up on commit SHA-1: f5dbc86 (escaping literal brackets)
Configuration menu - View commit details
-
Copy full SHA for 7da5445 - Browse repository at this point
Copy the full SHA 7da5445View commit details -
Merge pull request #145 from GerHobbelt/patch-perf-tests-upgrade
migrated performance tests to use latest BenchmarkJS v2.1.1
Configuration menu - View commit details
-
Copy full SHA for dbbceb3 - Browse repository at this point
Copy the full SHA dbbceb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a7702d - Browse repository at this point
Copy the full SHA 5a7702dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb4c55c - Browse repository at this point
Copy the full SHA bb4c55cView commit details
Commits on Sep 11, 2016
-
completed JSDoc et al documentation markup with
@private
and `@memb……erOf` tags for XRegExp and (obsoleted) natives overrides by XRegExp.
Configuration menu - View commit details
-
Copy full SHA for ce6dc9a - Browse repository at this point
Copy the full SHA ce6dc9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c8d44d - Browse repository at this point
Copy the full SHA 8c8d44dView commit details
Commits on Sep 12, 2016
-
Merge pull request #148 from GerHobbelt/patch-comment-typo
comment typo fix
Configuration menu - View commit details
-
Copy full SHA for f9df99c - Browse repository at this point
Copy the full SHA f9df99cView commit details
Commits on Feb 2, 2017
-
Added API
XRegExp._getUnicodeProperty(name)
* added API `XRegExp.isUnicodeSlug(name)` which checks whether a given `name` is a recognized Unicode Slug, e.g. `Number` (but not `Numeric` as `\p{Numeric}` is an *invalid* Unicode `\p` regex slug. This API is used by the GerHobbelt/jison app to help add Unicode support to the grammars being compiled. The way the API internals (**and documentation**, see the comment block in the patch) is written, i.e. that rather than a plain `true` boolean value, a 'truthy' Unicode slug definition is produced, is also used by the GerHobbelt/jison app: that code generator uses this artifact to greatly simplify lexer regex expansion and rewriting. * (Cherrypick) Following comments in #144, adjust the code to rename the API to `_getUnicodeProperty` -- I also went and checked the official term for these 'slugs': as I intend them, they're called 'categories' or 'Unicode Properties' (http://unicode.org/reports/tr18/#Categories) # Conflicts: # src/addons/unicode-base.js # xregexp-all.js
Configuration menu - View commit details
-
Copy full SHA for 8649ac6 - Browse repository at this point
Copy the full SHA 8649ac6View commit details
Commits on Feb 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e711b63 - Browse repository at this point
Copy the full SHA e711b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f1998 - Browse repository at this point
Copy the full SHA 33f1998View commit details -
Configuration menu - View commit details
-
Copy full SHA for f01fe73 - Browse repository at this point
Copy the full SHA f01fe73View commit details
Commits on Feb 8, 2017
-
Merge pull request #153 from pygy/fast-fake-y
Optimize sticky matching
Configuration menu - View commit details
-
Copy full SHA for 3378790 - Browse repository at this point
Copy the full SHA 3378790View commit details -
Merge pull request #147 from GerHobbelt/patch-jsdoc-tagging
completed JSDoc et al documentation markup
Configuration menu - View commit details
-
Copy full SHA for 741cf08 - Browse repository at this point
Copy the full SHA 741cf08View commit details -
unknown authored and unknown committed
Feb 8, 2017 Configuration menu - View commit details
-
Copy full SHA for 42d494e - Browse repository at this point
Copy the full SHA 42d494eView commit details
Commits on Feb 12, 2017
-
Don't allocate the sticky regex source when the resulting regexp is a…
…lready cached (#154) * Fast sticky polyfill: don't allocate the new source when the polyfilled expression is already cached * build
Configuration menu - View commit details
-
Copy full SHA for 065de70 - Browse repository at this point
Copy the full SHA 065de70View commit details
Commits on Feb 14, 2017
-
This makes it easier for new developers to run the tests, by typing `npm test`. This will build `xregexp-all.js`, then open `tests/index.html` in a browser, using [opener]. [opener]: https://www.npmjs.com/package/opener
Configuration menu - View commit details
-
Copy full SHA for 39d8266 - Browse repository at this point
Copy the full SHA 39d8266View commit details -
Add max_line_length to .editorconfig
It looks like comments have manually been wrapped to 100 characters, so use that as the [max_line_length] in the .editorconfig file. [max_line_length]: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length
Configuration menu - View commit details
-
Copy full SHA for 5c04038 - Browse repository at this point
Copy the full SHA 5c04038View commit details -
Merge pull request #156 from josephfrazier/editorconfig-max_line_length
Add max_line_length to .editorconfig
Configuration menu - View commit details
-
Copy full SHA for 62e1998 - Browse repository at this point
Copy the full SHA 62e1998View commit details -
Configuration menu - View commit details
-
Copy full SHA for befc05d - Browse repository at this point
Copy the full SHA befc05dView commit details -
This is a follow-up to #155 (comment) that lets the tests run in Node, without opening a browser. It's set up so that opening tests/index.html still works, for anyone who prefers that workflow. See the jasmine docs for more info on using it with Node: https://jasmine.github.io/2.5/node.html
Configuration menu - View commit details
-
Copy full SHA for 8a5eaf1 - Browse repository at this point
Copy the full SHA 8a5eaf1View commit details -
Merge pull request #159 from josephfrazier/test-node
Make tests run in Node
Configuration menu - View commit details
-
Copy full SHA for 2b65288 - Browse repository at this point
Copy the full SHA 2b65288View commit details -
.editorconfig: Set *.yml indent_size to 2
This is the convention for .travis.yml files.
Configuration menu - View commit details
-
Copy full SHA for 1921402 - Browse repository at this point
Copy the full SHA 1921402View commit details -
See here for details: https://docs.travis-ci.com/user/languages/javascript-with-nodejs/
Configuration menu - View commit details
-
Copy full SHA for 5549ac6 - Browse repository at this point
Copy the full SHA 5549ac6View commit details -
README.md: Add Travis CI badge
See here for details: https://docs.travis-ci.com/user/status-images/
Configuration menu - View commit details
-
Copy full SHA for 99bfd0b - Browse repository at this point
Copy the full SHA 99bfd0bView commit details
Commits on Mar 23, 2017
-
Merge pull request #160 from josephfrazier/travis
Add Travis CI configuration
Configuration menu - View commit details
-
Copy full SHA for 56ccef1 - Browse repository at this point
Copy the full SHA 56ccef1View commit details -
Pass XRegExp.build flags through asXRegExp to XRegExp constructor (#163)
Work around Firefox issue where '\n' is not ignored with flag x when used with XRegExp.build. See #163.
Configuration menu - View commit details
-
Copy full SHA for c1629b8 - Browse repository at this point
Copy the full SHA c1629b8View commit details
Commits on Mar 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7923d35 - Browse repository at this point
Copy the full SHA 7923d35View commit details
Commits on Mar 28, 2017
-
Use subpatterns in isQuantifierNext
This doesn't change its behavior, but makes it more readable and easier to modify.
Configuration menu - View commit details
-
Copy full SHA for cddec76 - Browse repository at this point
Copy the full SHA cddec76View commit details -
Extract isPatternNext helper from isQuantifierNext
This will allow us to use it for matching other patterns than just quantifiers.
Configuration menu - View commit details
-
Copy full SHA for 6ec37f8 - Browse repository at this point
Copy the full SHA 6ec37f8View commit details -
Test that XRegExp should not put (?:) at beginning/end of groups
This test currently fails. Here's the actual and expected patterns, with whitespace inserted to illustrate the difference: '((?:)[0-9]{4}(?:))(?:)-?(?:)((?:)[0-9]{2}(?:))(?:)-?(?:)((?:)[0-9]{2}(?:))(?:)' '( [0-9]{4} )(?:)-?(?:)( [0-9]{2} )(?:)-?(?:)( [0-9]{2} )(?:)'
Configuration menu - View commit details
-
Copy full SHA for 605397b - Browse repository at this point
Copy the full SHA 605397bView commit details -
Don't insert (?:) at the beginning/end of a group
This passes the tests in the previous commit, using the new isPatternNext function to determine if the match is at the end of a group. Checking if the match is at the beginning of a group is a little more naive, since it only looks at the previous character, rather than ignoring comments and whitespace, but I haven't found a good way to improve on that.
Configuration menu - View commit details
-
Copy full SHA for c41d699 - Browse repository at this point
Copy the full SHA c41d699View commit details -
Extract getCommentOrWhitespace helper from token handlers
I realized the token handlers are equivalent, so I made them a named function instead.
Configuration menu - View commit details
-
Copy full SHA for 68abf55 - Browse repository at this point
Copy the full SHA 68abf55View commit details -
fixup! Extract isPatternNext helper from isQuantifierNext
Use `new` with RegExp constructor, as is done everywhere else.
Configuration menu - View commit details
-
Copy full SHA for 5d8716e - Browse repository at this point
Copy the full SHA 5d8716eView commit details
Commits on Apr 4, 2017
-
Include build package in package.json for npm installs. (#167)
* Include build package in package.json for npm installs. * Update main to point to distribution build. Include LICENSE in files for npm installs.
Configuration menu - View commit details
-
Copy full SHA for 3874365 - Browse repository at this point
Copy the full SHA 3874365View commit details
Commits on Apr 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for d21c7f7 - Browse repository at this point
Copy the full SHA d21c7f7View commit details -
Add
conjunction
option for XRegExp.union and allow setting to 'none' (Configuration menu - View commit details
-
Copy full SHA for e2010f4 - Browse repository at this point
Copy the full SHA e2010f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eb3d64 - Browse repository at this point
Copy the full SHA 4eb3d64View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5e5f43 - Browse repository at this point
Copy the full SHA a5e5f43View commit details
Commits on Apr 15, 2017
-
Change
<li>
s to hyphens in code comments (#173)As seen in #107: > * Change `<li>`s to asterisks or hyphens in code comments. I used hyphens rather than asterisks because each comment line already starts with an asterisk, so hyphens visually stand out more.
Configuration menu - View commit details
-
Copy full SHA for 752feb9 - Browse repository at this point
Copy the full SHA 752feb9View commit details -
Declare each
var
on a separate line (#172)* Declare each `var` on a separate line This partially addresses the following item in #107: > * New `var` on each line, and don't always declare vars at top of function. The change was made with the help of [lebab], by running: lebab --replace src --transform multi-var [lebab]: https://github.com/lebab/lebab * Remove blank lines from `var` declarations See #172 (review)
Configuration menu - View commit details
-
Copy full SHA for db7bd22 - Browse repository at this point
Copy the full SHA db7bd22View commit details
Commits on Apr 16, 2017
-
Merge pull request #164 from josephfrazier/strip-useless-groups
Cleanup (?:) from beginning/end of groups
Configuration menu - View commit details
-
Copy full SHA for cd0d192 - Browse repository at this point
Copy the full SHA cd0d192View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fc4fce - Browse repository at this point
Copy the full SHA 7fc4fceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 622aaf3 - Browse repository at this point
Copy the full SHA 622aaf3View commit details
There are no files selected for viewing