Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular expressions and special characters
#2
It is because of flag 2 - whole word.
Flag 2 makes the regular expression "\b\s\d+\s\b".
Characters space and \ are both non-word characters, therefore there is no word boundary.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)