Regex for checking for different values based on a character that came previously

前端 未结 0 1666
旧巷少年郎
旧巷少年郎 2021-01-28 23:30

Problem is this:

I have a string in the form of

abc
   + or -
          if(+ was previous) then a or b or c
          else if(- was previous) then q or w o         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题