2013-08-23

Beautiful soup seems to have a problem with strings that contain brackets, the following code will fail if Ethernet LAN (RJ-45) is entered as a keyword however it will succeed if I enter just Ethernet LAN

Does anyone know of a reason why this is, is there anything special I can add to my code to make it work with the brackets as I need a perfect match?

Code

HTML

Show more