Lev*_*lum 2 regex pcre regex-greedy
我正在尝试匹配一个看起来像这样的字符串:
<$Fexample text in here>>
用这个表达式:
<\$F(.+?)>{2}
但是,在某些情况下,我的反向引用内容包含">",因此类似这样:
<$Fexample text in here <em>>>
仅example text in here <em在后向引用中匹配.在有或没有这些html实体的情况下,我有条件地返回正确的backrefernce需要做什么?