Match string not preceded by another with a regular expression

前端 未结 3 877
半阙折子戏
半阙折子戏 2021-01-25 18:32

The statement

Regex.Replace(\"XB\", \"([^A])B\", \"$1AB\")

produces XAB, as expected. Can someone explain me why

R         


        
3条回答
提交回复
热议问题