Skip to main content
Commonmark migration
Source Link

###Fixing your problems

Fixing your problems

###Fixing your problems

Fixing your problems

added 3 characters in body
Source Link
joojaa
  • 58.5k
  • 8
  • 87
  • 181

Like iI said imI'm not sure its possible. You could try to use a different strategy instead of matching any number of things in a set match anything as long as it does not violate the set. For this you need to use lookaheads. Unfortunately lookaheads do not have infinite width so this may not work out for you very well. In essence regular expressions aren't really up for this job.

A alternate strategy opens if you have some character or position that you can matcmatch in the beginingbeginning and end of your text. like start of paragraph and end of paragraph then you can easily match a range that MUST start/end with that character and it will discard any such things that contain anything invalid.

Like i said im not sure its possible. You could try to use a different strategy instead of matching any number of things in a set match anything as long as it does not violate the set. For this you need to use lookaheads. Unfortunately lookaheads do not have infinite width so this may not work out for you very well. In essence regular expressions aren't really up for this job.

A alternate strategy opens if you have some character or position that you can matc in the begining and end of your text. like start of paragraph and end of paragraph then you can easily match a range that MUST start/end with that character and it will discard any such things that contain anything invalid.

Like I said I'm not sure its possible. You could try to use a different strategy instead of matching any number of things in a set match anything as long as it does not violate the set. For this you need to use lookaheads. Unfortunately lookaheads do not have infinite width so this may not work out for you very well. In essence regular expressions aren't really up for this job.

A alternate strategy opens if you have some character or position that you can match in the beginning and end of your text. like start of paragraph and end of paragraph then you can easily match a range that MUST start/end with that character and it will discard any such things that contain anything invalid.

added 18 characters in body
Source Link
joojaa
  • 58.5k
  • 8
  • 87
  • 181

A alternate strategy opens if you have some character or position that you can match upmatc in the beggingbegining and end of your text. like start of paragraph and end of paragraph then you can easily match a range that MUST endstart/end with that character and it will discard any such things that contain anything invalid.

A alternate strategy opens if you have some character or position that you can match up in the begging and end like start of paragraph and end of paragraph then you can easily match a range that MUST end with that character and it will discard any such things that contain anything invalid.

A alternate strategy opens if you have some character or position that you can matc in the begining and end of your text. like start of paragraph and end of paragraph then you can easily match a range that MUST start/end with that character and it will discard any such things that contain anything invalid.

Source Link
joojaa
  • 58.5k
  • 8
  • 87
  • 181
Loading