windows9download

You Here : Home > Linux

hachoir-regex 1.0.2

OS Support:


Publisher

Publisher Old version

Update:

July 8 2011

Download:

hachoir-regex 1.0.2


Description

hachoir to apply regex regex manipulation Python library. It is used by chopper-subfile quick screening (finding the header file). ExamplesRegex creation>>> import Parse hachoir_core.regex, createString>>> createString ( "Bike") | createString ( "engine") <RegexOr »(vélo | moteur)'>>>> createString ( "big") + createString (bike) bicycle <Grand RegexString''>>>> r = parse ( '(cat | horse )')>>> r.minLength () r.maxLength () (3, 5) optimization> >> analyze import hachoir_core.regex, createString>>> parse ( "(MA | MB | MC)) <m RegexAnd'[AC]'>>>> createString (" Moto ") | parse (" word. ") <RegexAnd word '. > Pattern matchingfrom hachoir_core.regex import PatternMatchingp = PatternMatching () p.addString ( "A", 1) p.addString ( "two", 2) p.addRegex ( "(Three | Three), 3) for begin, end Article in p.search ( "one two three"): print "% r to% s: r = user%"% (item, start, item.user) find <any StringPattern'> 0: mode = 1 <StringPattern'Deux'> 3: user = 2 <T RegexPattern »(Rois | ROIS)'> 8: user = 3 Requirements: Python · What's new in this version: [read full changelog] · refix PatternMatching structureless


Related Downloads


Software Tags

Hachoir-regex | Hachoir-regex 1.0.2 | Hachoir-regex Free Download | Hachoir-regex Reviews | Download Hachoir-regex

Size :

Next/Pre