View Single Post
Old 09-16-2010, 04:55 PM   #2737
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by TonytheBookworm View Post
I would eventually like to learn how to do is use re.search(.....) and find words like boobuckle and replace it with censored or something to that nature.
Like this:
Code:
    preprocess_regexps = [
                (re.compile(r'boobuckle', re.DOTALL|re.IGNORECASE),lambda match: 'censored')
                         ]
Starson17 is offline