-
-
Notifications
You must be signed in to change notification settings - Fork 330
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e59c0e5d60a7
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dd7d39d25d51
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 12 files changed
- 2 contributors
Commits on May 13, 2015
-
Replace ^ and $ with \A and \z in regular expressions
Unless you specifically want to match the start and end of any line in the string, as opposed to the start and end of the string itself, you should avoid using ^ and $.
Configuration menu - View commit details
-
Copy full SHA for 39234b4 - Browse repository at this point
Copy the full SHA 39234b4View commit details
Commits on May 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d4fda8f - Browse repository at this point
Copy the full SHA d4fda8fView commit details -
Add Opal::REGEXP_START and REGEXP_END constants
These will be \A and \z in ruby mode and ^ and $ in javascript mode, giving the regexps that use them the same semantics in both ruby and javascript. I think a better solution would be to have opal automatically translate \A and \z to ^ and $, but that invites a slippery slope of trying to convert ruby regexp syntax to javascript regexp syntax.
Configuration menu - View commit details
-
Copy full SHA for 9d96a7f - Browse repository at this point
Copy the full SHA 9d96a7fView commit details
Commits on May 15, 2015
-
Merge pull request #852 from jeremyevans/regexp_fixes
Replace ^ and $ with \A and \z in regular expressions
Configuration menu - View commit details
-
Copy full SHA for dd7d39d - Browse repository at this point
Copy the full SHA dd7d39dView commit details
There are no files selected for viewing