Merge several regular expressions into one RE

前端 未结 5 2399
暖寄归人
暖寄归人 2021-02-13 02:04

I have written 2 REs to match several string sequences in a String. for e.g. lets assume the two regular expressions are RE1, RE2. The strings can be i

5条回答
  •  一个人的身影
    2021-02-13 02:19

    If RE1 and RE2 could match the same characters of the string, check them separately (does RE1 match the string, does RE2 match the string).

提交回复
热议问题