• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regex. Pattern "-" (minus) symbol and . (dot)  RSS feed

 
Sergej Smoljanov
Ranch Hand
Posts: 472
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i try this one pattern and want get this result "<Start>An index ranges from 0 to length() - 1.<end>"
but i cant detect - (minus) symbol and . (dot).
pl. help
 
Sergej Smoljanov
Ranch Hand
Posts: 472
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry.
problem was at (), not dot and minus need be : \\( and \\)
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done sorting it out
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!