⬆️ ⬇️

PCRE processing nested matches.

There was a need to highlight the content of tags in which the same tags may be present, i.e. just select, for example, how .*? can not: (

In the documentation about this, I did not find a word, or rather I didn’t see a solution at all.



  <code> Something is here and <code> this </ code> is highlighted again </ code> 




PS: and zaminusuyte me to death here, but the answer-advice is very necessary.


')

Source: https://habr.com/ru/post/18320/



All Articles