Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 1, 2009
  1. @kogent @jasherai

    Fixed build issues with Hoe 2.3.3

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

    Adjusting code to meet typical Ruby style.

    djsun authored jasherai committed
    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 @jasherai

    Cleaned up ugly code indenting.

    djsun authored jasherai committed
    Signed-off-by: Pritesh <pritesh@phatforge.com>
  3. @djsun @jasherai

    Corrected docs / comments to use ORegexp instead of ORegex.

    djsun authored jasherai committed
    Signed-off-by: Pritesh <pritesh@phatforge.com>
Commits on Dec 16, 2008
  1. @jasherai
  2. @indirect @jasherai

    Add gemspec so github will build a gem

    indirect authored jasherai committed
  3. @indirect
Commits on Dec 15, 2008
  1. @indirect

    Allow the location of lib-oniguruma to be passed in

    indirect authored
    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
  1. @jasherai
  2. @jasherai
Commits on May 16, 2007
  1. @dichodaemon
Commits on May 10, 2007
  1. @dichodaemon

    * Compiled for windows

    dichodaemon authored
Commits on May 9, 2007
  1. @dichodaemon

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

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

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

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

    * Modified Rakefile to accept win32 gems.

    dichodaemon authored
    * 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 authored
    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 authored
    * 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 authored
    …egexp -- somewhat improve speed for repetive calls
  4. Move ORegexp#=~ to C code, make it work just like Regexp#=~, i.e. set…

    Nikolai Lugovoi authored
    … $~. 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 authored
    … 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 authored
    … groups and default to group 0.
    
    * Exception is not longer thrown when in oregexp_make_match_data.
  2. @dichodaemon
  3. @dichodaemon
  4. fix off by one error in region->num_regs usage

    Nikolai Lugovoi authored
  5. fix dumb bug with zero-width matches that made infinite loops. now co…

    Nikolai Lugovoi authored
    …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 authored
    …6.1, 5.5.3.
    
    Probably just recommend using v5.5 or higher?
  7. ORegexp API changes:

    Nikolai Lugovoi authored
    * 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 authored
  2. @dichodaemon
  3. @dichodaemon

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

    dichodaemon authored
    …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.