Permalink
Switch branches/tags
Nothing to show
Commits on Sep 1, 2009
  1. Fixed build issues with Hoe 2.3.3

    Signed-off-by: Pritesh <pritesh@phatforge.com>
    kogent committed with jasherai Aug 31, 2009
Commits on Jul 16, 2009
  1. Adjusting code to meet typical Ruby style.

    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>
    djsun committed with jasherai Jun 25, 2009
  2. Cleaned up ugly code indenting.

    Signed-off-by: Pritesh <pritesh@phatforge.com>
    djsun committed with jasherai Jun 25, 2009
  3. Corrected docs / comments to use ORegexp instead of ORegex.

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

    jasherai committed Dec 16, 2008
Commits on Dec 15, 2008
  1. Allow the location of lib-oniguruma to be passed in

    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
    indirect committed Dec 15, 2008
Commits on Sep 10, 2008
Commits on May 16, 2007
  1. * Added MaMa documentation.

    dichodaemon committed May 16, 2007
Commits on May 10, 2007
  1. * Compiled for windows

    dichodaemon committed May 10, 2007
Commits on May 9, 2007
  1. * Fixed string escaping in ORegexp#to_str and ORegexp#inspect.

    * Added begin parameter to ORegexp#match.
    dichodaemon committed May 9, 2007
Commits on Apr 16, 2007
  1. * Fixed string escaping in ORegexp#to_str and ORegexp#inspect.

    * Added begin parameter to ORegexp#match.
    dichodaemon committed Apr 16, 2007
Commits on Mar 28, 2007
  1. * Modified Rakefile to accept win32 gems.

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

    In getting replacement do not create temp string object, but directly add to resulting buffer (performance impr.)
    Nikolai Lugovoi committed Mar 28, 2007
Commits on Mar 27, 2007
  1. * Added documentation for MatchData.

    * 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.
    dichodaemon committed Mar 27, 2007
  2. Do not create @named_captures hash if there are no named groups for r…

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

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

    … case statement anymore
    
    (resembles plain Ruby Regexp#=== behaviour)
    Nikolai Lugovoi committed Mar 27, 2007
Commits on Mar 26, 2007
  1. * Modified begin, end and offset methods in MatchData to handle named…

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

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

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

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

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

    * 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
    Nikolai Lugovoi committed Mar 26, 2007
Commits on Mar 25, 2007
  1. updated Rakefile to 0.9.1

    dichodaemon committed Mar 25, 2007
  2. - FIX: Buggy resolution of numeric codes for encoding and syntax opti…

    …ons (Nikolai Lugovoi)
    
    - FIX: Buggy implementation of ORegexp#gsub and  ORegexp#gsub methods. Now code is all C (Nikolai Lugovoi)
    dichodaemon committed Mar 25, 2007
Commits on Mar 22, 2007