Created
January 25, 2011 03:35
-
-
Save caleywoods/794463 to your computer and use it in GitHub Desktop.
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
111 def test_slash_b_anchors_to_a_word_boundary | |
112 assert_equal "vines", "bovine vines"[/\bvine./] | |
113 assert_equal "super dooper", "super dooper pooper scooper"[/\bsuper\s\S+/] | |
114 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment