Jump to content



Photo

Stripping Out The Curly Braces


  • Please log in to reply
4 replies to this topic

#1 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 338 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 13 March 2018 - 11:37 AM

My curly braces are being stripped when i used the $find regular expression command.  I hit the ""button first and it still strips it. 

 

I enter it as: [0-9]+\.[0-9]{2}$

 

then it ends up as: [0-9]+\.[0-9]2$



#2 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2859 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 March 2018 - 04:28 PM

You need to do {2,2}



#3 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 338 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 13 March 2018 - 04:41 PM

You need to do {2,2}

Whats the other 2 for?



#4 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2859 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 March 2018 - 05:16 PM

Whats the other 2 for?

 

Its just a trick to get Ubot to not strip the braces.



#5 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 338 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 13 March 2018 - 05:26 PM

Its just a trick to get Ubot to not strip the braces.

OH!! LOL






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users