{% extends base %} {% block head %} {% end %} {% block body %}

内容搜索

{% include mod_fs_path.html %}
路径
包含关键字
(同一行)
排除关键字
文件名
排除文件夹
忽略大小写
递归搜索
正则表达式
{{?error}} {% if len(files) > 0 %}
匹配文件数: {{len(files)}}
匹配行数: {{total_lines}}
{% end %} {% for index1, file in enumerate(files) %}
匹配数: {{len(file.result)}}
{{file.name}}
{% for line in file.result %} {% set around_id = "%s-%s" % (index1, line.lineno) %}
{{"%4d " % line.lineno}}{{line.text}}
{{line.around_text}}
{% end %}

{% end %} {% end %} {% block body_right %} {% include fs/component/fs_sidebar.html %} {% end %}