Notepad ++ and regex

I am doing some tests with Find in Notepad ++ using regex. Here is my problem that I cannot figure out why:

My text:



The following regex matches well:



But why does the following regex (with "?" Appended) no longer match:



Am I correct that in the last regex '?' means that (/ p [0-9] +) can be displayed zero or one time?


source to share

All Articles