Skip to content
Snippets Groups Projects
Select Git revision
  • 3eafceb1c2fd2b7ef7e373e4f23f8724b8a6560a
  • master default protected
  • v5-34-00-patches
  • v6-26-00-patches
  • v6-28-00-patches
  • v6-22-00-patches
  • v6-24-00-patches
  • latest-stable
  • v6-18-00-patches
  • v6-20-00-patches
  • v6-16-00-patches
  • v6-14-00-patches
  • v6-12-00-patches
  • v6-10-00-patches
  • v6-06-00-patches
  • v6-08-00-patches
  • v6-28-02
  • v6-28-00
  • v6-28-00-rc1
  • v6-29-01
  • v6-27-02
  • v6-26-10
  • v6-26-08
  • v6-24-08
  • v6-26-06
  • v6-26-04
  • v6-26-02
  • v6-26-00
  • v6-25-02
  • v6-24-06
  • v6-24-04
  • v6-24-02
  • v6-24-00
  • v6-22-08
  • v6-25-01
  • v6-24-00-rc1
36 results

tutorials

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Fons Rademakers authored
    TPRegexp
    ========
    
    1. Modularized Match() and Substitute() functions so that the low-level work
       is done by MatchInternal() and SubstituteInternal().
    
    2. Added function TString GetModifiers() that translates from bit-flag
       options back to perl-style option characters.
    
    3. For all functions that do actual matching replaced the default value
       of 'Int_t nMatchMax' argument from 30 to 10. PCRE internals require
       the index buffer to be 3-times the number of allowed matches. This
       multiplication is now performed in individual functions and nMatchMax
       is really the number of allowed matches. Two function calls in 
       TString passing this number explicitly have been updated.
    
    TPMERegexp
    ==========
    
    New sub-class of TPRegexp with API closer to PERL.
    Supports main Perl operations using regular expressions (Match,
    Substitute and Split). To retrieve the results one can simply use
    operator[] returning a TString.
    
    tutorials/regexp_pme.C
    ======================
    
    Tutorial showing usage of the TPMERegexp class.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@23681 27541ba8-7e3a-0410-8455-c3a389f83636
    f1c80f10
    History
    Name Last commit Last update
    ..