Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An empty regex is a valid regex that always matches. This behavior is consistent with at least Go and Python. A couple regression tests are included.
- Loading branch information
1 parent
f5ead0d
commit 9d39178
Showing
2 changed files
with
17 additions
and
0 deletions.
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
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
9d39178
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.
saw approval from alexcrichton
at BurntSushi@9d39178
9d39178
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.
merging BurntSushi/rust/fix-13843 = 9d39178 into auto
9d39178
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.
BurntSushi/rust/fix-13843 = 9d39178 merged ok, testing candidate = 5a6dc40
9d39178
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.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/6053
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6051
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5147
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5156
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6151
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5239
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5247
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6153
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5238
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5244
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5304
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3040
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6143
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/5239
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5254
9d39178
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.
fast-forwarding master to auto = 5a6dc40