summaryrefslogtreecommitdiff
path: root/lib/eregex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eregex.rb')
-rw-r--r--lib/eregex.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/eregex.rb b/lib/eregex.rb
index f214f6a..384d531 100644
--- a/lib/eregex.rb
+++ b/lib/eregex.rb
@@ -30,10 +30,7 @@ class Regexp
end
end
-p "abc" =~ /b/|/c/
-p "abc" =~ /b/&/c/
-
-
-
-
-
+if __FILE__ == $0
+ p "abc" =~ /b/|/c/
+ p "abc" =~ /b/&/c/
+end