From: Иван Клешнин <ivan.klesh...@gmail.com>
Date: Wed, 29 Aug 2012 11:46:59 -0700 (PDT)
Local: Wed, Aug 29 2012 2:46 pm
Subject: Please help to understand
I'm trying to remove all content-less tags from document. After node from bs4 import BeautifulSoup as bs def normalize(soup): while True: # ... see below soup = bs(s) What confuses me a lot, is a reaction to "\n" within tag's contens: s = """ ... s = """ So question is clear -- how can "\n" break my regex or soup behavior? You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||