Loading ...
Sorry, an error occurred while loading the content.

23697Re: [Clip] \W and underscore

Expand Messages
  • Axel Berger
    Mar 16, 2013
    • 0 Attachment
      John Shotsky wrote:
      > you have to include \r\n in the negative class

      I don't see why. \w and \W are complemetary, so \w and [^\W] should be
      exactly the same. So if what you're looking for is "\w except _" and "\W
      plus _" [\W_] and [^\W_] are your two solutions.
      Or are those line ends another problem on top of the _ one? If so it
      will have to be tackled too of course.

      Axel
    • Show all 15 messages in this topic