Revision
3838
Author
joshua.ballanco@apple.com
Date
2010-03-20 17:01:18 -0700 (Sat, 20 Mar 2010)

Log Message

Escape hash in extended regexp

Modified Paths

Diff

Modified: MacRuby/trunk/ext/openssl/lib/openssl/x509-internal.rb (3837 => 3838)


--- MacRuby/trunk/ext/openssl/lib/openssl/x509-internal.rb	2010-03-20 04:53:53 UTC (rev 3837)
+++ MacRuby/trunk/ext/openssl/lib/openssl/x509-internal.rb	2010-03-21 00:01:18 UTC (rev 3838)
@@ -70,7 +70,7 @@
         QuoteChar = /[^\\"]/
         AttributeType = /[a-zA-Z][0-9a-zA-Z]*|[0-9]+(?:\.[0-9]+)*/
         AttributeValue = /
-          (?!["#])((?:#{StringChar}|#{Pair})*)|
+          (?!["\#])((?:#{StringChar}|#{Pair})*)|
           \#(#{HexString})|
           "((?:#{QuoteChar}|#{Pair})*)"
         /x