Skip to content
Commits on Aug 21, 2012
  1. @rsc

    re2: eliminate global c++ constructors

    R=battre, battre, digit, rsc, digit
    CC=re2-dev
    http://codereview.appspot.com/6442107
    rsc committed Aug 21, 2012
Commits on Aug 9, 2012
  1. util/util.h: Replace an include of <iostream> with <ostream>.

    util.h included <iostream> which registers an atexit destructor which slows down the shutdown process. This is not necessary, because only ostreams are used in the code.
    
    R=rsc, battre, rsc
    CC=re2-dev
    http://codereview.appspot.com/6441106
    
    Committer: Russ Cox <rsc@swtch.com>
    Dominic Battré committed Aug 9, 2012
Commits on Jul 19, 2012
  1. @rsc

    re2: fix (?i)\S when using !ClassNL or NeverNL

    The \n was leaking in despite being excluded.
    
    R=r
    CC=re2-dev
    http://codereview.appspot.com/6419054
    rsc committed Jul 19, 2012
Commits on Jul 17, 2012
  1. @rsc

    Explicitly cast narrowing conversions in contexts where they

    will become errors in C++0x.
    
    [Exported from internal Google RE2 repository.]
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6413043
    rsc committed Jul 17, 2012
  2. @rsc

    make RE2::Rewrite and RE2::MaxSubmatch public, so that

    clients can implement their own Replace loops
    
    [Exported from internal Google RE2 repository.]
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6410044
    rsc committed Jul 17, 2012
  3. @rsc

    Add support to prefilter.cc for Latin1 encoded strings. For a Latin1 …

    …Regexp,
    
    Latin1 atoms are produced and lowercased.
    
    [Exported from internal Google RE2 repository.]
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6398057
    rsc committed Jul 17, 2012
  4. @rsc

    Add a "never capture" flag to RE2.

    [Exported from internal Google RE2 repository.]
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6412043
    rsc committed Jul 17, 2012
  5. @rsc

    re2: reannotate dfa.cc to help TSAN

    [Exported from internal Google RE2 repository.]
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6409053
    rsc committed Jul 17, 2012
  6. @rsc

    Make re2 compile under MSVC.

    Adds less than operator and data members in StateHash to let it behave like MSVC hash compare.
    Does not define RE2::Options::kDefaultMaxMem in re2.cc because it will trigger LNK2005 in MSVC compiler.
    
    [Exported from internal Google RE2 repository.]
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6398056
    rsc committed Jul 17, 2012
  7. @rsc

    RE2::Set: fix handling of regexps with trailing $,

    by forcing all regexps to have trailing $ and checking
    for the match only after the $ has been pushed through.
    
    [Exported from internal Google RE2 repository.]
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6410043
    rsc committed Jul 17, 2012
  8. @rsc
Commits on May 29, 2012
  1. dfa_test: Comment out dead variables.

    GCC 4.6 warns about unused-but-set variables.
    Comment out variables only used by commented-out code.
    This commenting-out predates the public re2 hg repo, so no idea who did it
    or why.
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6248060
    
    Committer: Russ Cox <rsc@swtch.com>
    Stefano Rivera committed May 29, 2012
  2. Update codereview hg plugin

    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/6256064
    
    Committer: Russ Cox <rsc@swtch.com>
    Stefano Rivera committed May 29, 2012
  3. @rsc
Commits on Mar 5, 2012
  1. @rsc

    re2: fix build for filtered_re2.h

    Reported by jmillikin@gmail.com.
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/5727067
    rsc committed Mar 5, 2012
Commits on Feb 7, 2012
  1. @rsc
Commits on Jan 26, 2012
  1. atomicops: fix build on Alpha

    Fixes issue 56.
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/5531045
    
    Committer: Russ Cox <rsc@swtch.com>
    Stefano Rivera committed Jan 26, 2012
Commits on Dec 9, 2011
  1. @rsc

    syntax update

    rsc committed Dec 9, 2011
  2. @rsc

    syntax update

    rsc committed Dec 9, 2011
  3. @rsc

    syntax update

    rsc committed Dec 9, 2011
Commits on Oct 30, 2011
  1. @rsc
Commits on Oct 23, 2011
  1. re2_test.cc: Ask sysconf() for pagesize rather than assuming multiple…

    … of 8k
    
    Tests fail on Debian/ia64 because ia64 has 16k pages, but we try to munmap an 8k page.
    
    Fixes issue 45
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/5296045
    
    Committer: Russ Cox <rsc@swtch.com>
    Stefano Rivera committed Oct 23, 2011
  2. Make Makefile a little more compliant (CXX, CPPFLAGS)

    CXX should specify the C++ Compiler
    CPPFLAGS shouldn't be ignored
    Remove unnecessary rules for building C (there isn't any)
    
    Fixes issue 41
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/5299048
    
    Committer: Russ Cox <rsc@swtch.com>
    Stefano Rivera committed Oct 23, 2011
  3. Refresh codereview.py from golang, to support newer mercurial

    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/5313046
    
    Committer: Russ Cox <rsc@swtch.com>
    Stefano Rivera committed Oct 23, 2011
  4. @rsc

    re2: allow use of FilteredRE2 in dynamic library

    Fixes issue 53.
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/5307054
    rsc committed Oct 23, 2011
Commits on Oct 14, 2011
  1. @rsc

    util/logging.h: add <unistd.h> for write

    Thanks to Tuncer Ayaz for the report.
    
    R=rsc, rsc
    CC=re2-dev
    http://codereview.appspot.com/5286045
    rsc committed Oct 14, 2011
Commits on Sep 8, 2011
  1. @rsc

    re2: even more logging

    rsc committed Sep 8, 2011
Commits on Sep 7, 2011
  1. @rsc

    re2: log more tests for Go

    rsc committed Sep 7, 2011
  2. @rsc
Commits on Sep 5, 2011
  1. @rsc

    LOG: use sstream+write in case cerr is not initialized

    Thanks to Eric Rannaud for reporting the bug.
    
    R=rsc
    CC=re2-dev
    http://codereview.appspot.com/4962053
    rsc committed Sep 5, 2011
  2. @rsc
Commits on Jul 22, 2011
  1. @rsc

    re2: fix comparison bug in LookupCaseFold

    Missed a hard-coded reference to unicode_casefold
    when making the function more generic.
    That bug masked a bug in the use by ToLowerRune.
    
    Fixes issue 42.
    
    R=r
    CC=re2-dev
    http://codereview.appspot.com/4812047
    rsc committed Jul 21, 2011
Commits on Jun 22, 2011
  1. @rsc

    re2: do not edit Regexp during IsAnchorStart, IsAnchorEnd

    Must never edit existing regexps: they are logically immutable.
    Was causing RE2::Regexp to give back the wrong answer.
    
    R=r
    CC=re2-dev
    http://codereview.appspot.com/4626065
    rsc committed Jun 21, 2011
Commits on Jun 21, 2011
  1. @rsc

    export changes made at Google

    rsc committed Jun 21, 2011
Commits on May 16, 2011
  1. @rsc
Something went wrong with that request. Please try again.