Skip to content
Commits on Sep 1, 2009
  1. @kogent

    Fixed build issues with Hoe 2.3.3

    kogent committed with Sep 1, 2009
    Signed-off-by: Pritesh <pritesh@phatforge.com>
Commits on Jul 16, 2009
  1. @djsun

    Adjusting code to meet typical Ruby style.

    djsun committed with Jun 26, 2009
    This is typical Ruby style:
      def a_method(parameter)
        # ...
      end
    
    This is not:
      def a_method( parameter )
        # ...
      end
    
    Also cleaned up whitespace at ends of lines.
    
    Signed-off-by: Pritesh <pritesh@phatforge.com>
  2. @djsun

    Cleaned up ugly code indenting.

    djsun committed with Jun 26, 2009
    Signed-off-by: Pritesh <pritesh@phatforge.com>
  3. @djsun

    Corrected docs / comments to use ORegexp instead of ORegex.

    djsun committed with Jun 26, 2009
    Signed-off-by: Pritesh <pritesh@phatforge.com>
Commits on Dec 16, 2008
  1. Merge branch 'indirect/master'

    committed Dec 16, 2008
  2. @indirect
  3. @indirect
Commits on Dec 15, 2008
  1. @indirect

    Allow the location of lib-oniguruma to be passed in

    indirect committed Dec 15, 2008
    For example, to install via ports on Mac OS X 10.5:
    sudo port install oniguruma5
    sudo gem install oniguruma -- --with-onig-dir=/opt/local
Commits on Sep 10, 2008
Commits on May 16, 2007
  1. @dichodaemon

    * Added MaMa documentation.

    dichodaemon committed May 16, 2007
Commits on May 10, 2007
  1. @dichodaemon

    * Compiled for windows

    dichodaemon committed May 10, 2007
Commits on May 9, 2007
  1. @dichodaemon

    * Fixed string escaping in ORegexp#to_str and ORegexp#inspect.

    dichodaemon committed May 9, 2007
    * Added begin parameter to ORegexp#match.
Commits on Apr 16, 2007
  1. @dichodaemon

    * Fixed string escaping in ORegexp#to_str and ORegexp#inspect.

    dichodaemon committed Apr 16, 2007
    * Added begin parameter to ORegexp#match.
Commits on Mar 28, 2007
  1. @dichodaemon
  2. @dichodaemon
  3. @dichodaemon

    * Modified Rakefile to accept win32 gems.

    dichodaemon committed Mar 28, 2007
    * Created directory win for win libraries.
    * Modified History.txt and Manifest.txt for release 1.0.1.
  4. Restore check for onig version to build with 4.6

    Nikolai Lugovoi committed Mar 28, 2007
    In getting replacement do not create temp string object, but directly add to resulting buffer (performance impr.)
Commits on Mar 27, 2007
  1. @dichodaemon
  2. @dichodaemon

    * Added documentation for MatchData.

    dichodaemon committed Mar 27, 2007
    * Added ogsub, ogsub!, sub and sub! to ::String.
    * Removed ::String definitions from tests.
    * Now the minimal recommended version of Oniguruma is 5.5 or higher.
    * Removed ugly #if statements from c code.
    * Updated rakefile and History.txt for v1.0.0.
  3. Do not create @named_captures hash if there are no named groups for r…

    Nikolai Lugovoi committed Mar 27, 2007
    …egexp -- somewhat improve speed for repetive calls
  4. Move ORegexp#=~ to C code, make it work just like Regexp#=~, i.e. set…

    Nikolai Lugovoi committed Mar 27, 2007
    … $~. Throw ArgumentError instead of Exception if pattern does not compile
  5. Fix implementation of ORegexp#===, so it now does not raise errors in…

    Nikolai Lugovoi committed Mar 27, 2007
    … case statement anymore
    
    (resembles plain Ruby Regexp#=== behaviour)
Commits on Mar 26, 2007
  1. @dichodaemon

    * Modified begin, end and offset methods in MatchData to handle named…

    dichodaemon committed Mar 26, 2007
    … groups and default to group 0.
    
    * Exception is not longer thrown when in oregexp_make_match_data.
  2. @dichodaemon
  3. @dichodaemon

    Removed class MultiMatchData

    dichodaemon committed Mar 26, 2007
  4. fix off by one error in region->num_regs usage

    Nikolai Lugovoi committed Mar 26, 2007
  5. fix dumb bug with zero-width matches that made infinite loops. now co…

    Nikolai Lugovoi committed Mar 26, 2007
    …nsume at least one char in gsub and scan
  6. ugly #if checks to make it build and run most tests against 2.5.8, 4.…

    Nikolai Lugovoi committed Mar 26, 2007
    …6.1, 5.5.3.
    
    Probably just recommend using v5.5 or higher?
  7. ORegexp API changes:

    Nikolai Lugovoi committed Mar 26, 2007
    * Pass only MatchData to sub/gsub with blocks
        oregexp.sub( str ) {|match_data| ... }
        oregexp.gsub( str ) {|match_data| ... }
    
    * Add ORegexp#scan instead of match_all
        oregexp.scan(str) {|match_data| ... } # => MultiMatchData
    
    * Friendly way to set options 
        ORegexp.new( pattern, options_str, encoding, syntax)
    
        ORegexp.new('\w+', 'imsx', 'koi8r', 'perl')
        
    *  Named backreferences in substitions 
        ORegexp.new('(?<pre>\w+)\d+(?<after>\w+)').sub('abc123def', '\<after>123\<pre>')  #=> 'def123abc'
    
    * couple of bugfixes with region's num_regs
    
    * some  docs for substitution methods added
Commits on Mar 25, 2007
  1. @dichodaemon

    updated Rakefile to 0.9.1

    dichodaemon committed Mar 25, 2007
  2. @dichodaemon
  3. @dichodaemon

    - FIX: Buggy resolution of numeric codes for encoding and syntax opti…

    dichodaemon committed Mar 25, 2007
    …ons (Nikolai Lugovoi)
    
    - FIX: Buggy implementation of ORegexp#gsub and  ORegexp#gsub methods. Now code is all C (Nikolai Lugovoi)
Commits on Mar 22, 2007
  1. @dichodaemon
Something went wrong with that request. Please try again.