Bounds参数是有什么特别限制么?

新手入门、经验交流

Moderator: cre

Forum rules
  • 软件自带帮助是最好的入门教程,请仔细阅读;在您掌握最基本知识前,我们没法帮助您
  • 提问前请先查阅软件帮助文件和论坛相关讨论
  • 查阅软件帮助和论坛相关讨论即可解决的问题帖将直接删除,以免浪费他人时间
  • 请学会如何提问,尽量将问题描述清楚,不明确的提问将被直接删除
Post Reply
foleo
Posts: 12
Joined: Jun 04 2008, 21:38

Bounds参数是有什么特别限制么?

Post by foleo »

还是我写错了?

我是想把某个网站里,<span>标签中的英文问号,修改为中文问号。用了这样的规则。

Code: Select all

[Patterns]
Name = "symbol convert"
Active = TRUE
URL = "www.somesite.com/"
Bounds = "<span\s*</span>"
Limit = 256
Match = "\?"
Replace = "&#65311;"
网页中有这样的内容,但是不起作用。字节数没问题的。

Code: Select all

<span style="color:blue">一段中文?</span>
User avatar
phoenix
Site Admin
Posts: 529
Joined: Dec 29 2007, 16:27

Re: Bounds参数是有什么特别限制么?

Post by phoenix »

Since the bounds selects the range of text being searched - the matching expression must match everything matched by the bounds for the rule as a whole to match.
Post Reply