Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 17, 2016 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/18df2dd79a0a2e1e8f7d136ca12fa7ab to your computer and use it in GitHub Desktop.
Save Whateverable/18df2dd79a0a2e1e8f7d136ca12fa7ab to your computer and use it in GitHub Desktop.
bisectable6
old=2016.10 my $a = "john.doe@perl6.org"; my $b = / <:L>+\.<:L>+\@<:L+:N>+\.<:L>+ /; say $/ if $a ~~ $b;
Bisecting: 147 revisions left to test after this (roughly 7 steps)
[5ba75f445dc74560f9dabceeb4b4dc13f78c786f] Test native call on one thread won't block others.
»»»»» Testing 5ba75f445dc74560f9dabceeb4b4dc13f78c786f
»»»»» Script output:
「john.doe@perl6.org」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1fce09529163517e51bd354aa73d059f8fa127e7
»»»»» Script output:
Nil
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d3a0907859cd46f6004eb30e42fdde2f0382abd9
»»»»» Script output:
「john.doe@perl6.org」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bc7fcc61e8ade69e3e5ed30805b6fe0ae67aeb8c
»»»»» Script output:
「john.doe@perl6.org」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1f76b17ee37ff666a8f0e0d81bdecbca1fb5d856
»»»»» Script output:
「john.doe@perl6.org」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 05b65d0b1263b2d6ae974e2bf0d0d7f17df11e38
»»»»» Script output:
「john.doe@perl6.org」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5ac593ee098f204ea69ef57edd9ae0925c544ea4
»»»»» Script output:
「john.doe@perl6.org」
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a1fceeb6424b91daba2ecc6a5d0fbc215d865eb7
»»»»» Script output:
Nil
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Nil
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
5ac593ee098f204ea69ef57edd9ae0925c544ea4 is the first new commit
commit 5ac593ee098f204ea69ef57edd9ae0925c544ea4
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Thu Oct 27 12:54:22 2016 +0200
Make ~~ /foo/ and ~~ Regex:D work the same
Spotted by labster++ . So, '"foo" ~~ /foo/' returns the Match
object and sets $/, whereas 'my $a = rx/foo/; "foo" ~~ $a' only
returned True and did not set $/.
:040000 040000 df500f6afd0016a0542e6ae7211f15cc10fbb071 62186d38c5678fd80c21309639b8d89cba96e475 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment