Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
简单的问题是:
我选择了第 3 项,在导航到某个地方并返回后,它从最后一项中选择了第 3 项并显示了隐藏的项目(名为“Gizli”的意思是“秘密”)并隐藏了同一个地方的项目......
问题是什么?
这也是@Pantelis 的一个基本示例,我进行了更改以显示问题。 样本
我正在使用这个正则表达式来尝试查找看起来像这样的链接,并将它们替换为仅链接的开始和结束标记之间的内容。
正则表达式:
/<a class="tag_link"[^>]*>([^<]*)<\/a>/mg
我在示例代码上测试了正则表达式并且它可以工作,但是当我尝试