[macruby-changes] [3838] MacRuby/trunk/ext/openssl/lib/openssl/x509-internal.rb

source_changes at macosforge.org source_changes at macosforge.org
Sat Mar 20 17:01:21 PDT 2010


Revision: 3838
          http://trac.macosforge.org/projects/ruby/changeset/3838
Author:   joshua.ballanco at apple.com
Date:     2010-03-20 17:01:18 -0700 (Sat, 20 Mar 2010)
Log Message:
-----------
Escape hash in extended regexp

Modified Paths:
--------------
    MacRuby/trunk/ext/openssl/lib/openssl/x509-internal.rb

Modified: MacRuby/trunk/ext/openssl/lib/openssl/x509-internal.rb
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100320/11777713/attachment.html>


More information about the macruby-changes mailing list