Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by TobyToo

  1. TobyToo

    HP D7360 Print Preview bug for borderless photos?

    Yes and no (yes I've checked, and no there weren't!)
  2. TobyToo

    HP D7360 Print Preview bug for borderless photos?

    I recently bough an HP Photosmart D7360, having read good reviews about it. It seems OK in allrespects except one. When printing on photopaper (specifically HP 4x6 inch tabbed paper) the print preview seems to be inaccurate, by which I mean the actual photo printed has about 2mm cropped off...
  3. TobyToo

    Negating Regular expressions

    I actually want to return the string, so in this case ! re.search ... wouldn't help me (well that's not entirely true - I might include a check-box on the GUI front end so the user can specify whether to iclude or exclude the expression. Nevertheless, it would be nice to know a general solution).
  4. TobyToo

    Negating Regular expressions

    In Python, how can one negate an overall regular expression? For example, the regex ... import re string='This is a test' string2='Test too BC ' re.search('[ ][A-Z][A-Z][ ]',string) <doesn't match> re.search('[ ][A-Z][A-Z][ ]',string2) <DOES match> ... but what if I want to match only strings...

Part and Inventory Search

Back
Top