Home > Net >  For a regular expression.
For a regular expression.

Time:09-18

Such as string: reception, count=horse horse - has not horse number
Number of matching "horse" matches only one instead of three, is the need to fully match,
The expression is: (I wrote? !=(^ | [^ \ u4e00 - \ u9fa5])) (horse count?=([^ \ u4e00 - \ u9fa5] | $)), but apparently not, trouble great god help to have a look at what went wrong,

CodePudding user response:

For the reason. (? !=(^ | [^ \ u4e00 - \ u9fa5])) (horse count?=([^ \ u4e00 - \ u9fa5] | $)) into (? <=(^ | [^ \ u4e00 - \ u9fa5])) (horse count?=([^ \ u4e00 - \ u9fa5] | $)),

CodePudding user response:

To pick up points back oh,

CodePudding user response:

Congratulations to , suggest to non-technical area again

CodePudding user response:

Good pick up points

CodePudding user response:

Can be changed to \ b represent border
 
(?
  •  Tags:  
  • C#
  • Related