Home > front end >  A regular expression to realize retrieval problem
A regular expression to realize retrieval problem

Time:02-22

想问问大家,需要对日记的标题进行检索并对其高光,但是每篇日记(本地储存)在一个数组里,我在输入关键词后所有的日记标题都跑到第一个日记标题的标签里了,求好心人帮我看看(相关代码和运行结果在下面)我知道为什么结果会这样,但是不知道怎么办,

CodePudding user response:

I don't know my question clearly stated
  • Related