Mercurial > hg > extraction-interface
view interface/regex_files/source.txt @ 17:82f8c6bd2b69
add new tag will based on the current topic_id, insert new element into (1)taglist table and (2)topic_tag_relation table
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 20 Feb 2015 17:57:02 +0100 |
parents | b12c99b7c3f0 |
children |
line wrap: on
line source
<span class="span_source_tag" id="span_XXX" regextext="[^○><]{2,4}" regexreplace="source_tag" style="border: 1px solid black; width: 100px;"> XXX </span><span class="span_source_tag" id="span_出處" regextext="列傳|本傳|本紀|實錄|帝紀" regexreplace="source_tag" style="border: 1px solid black; width: 100px;"> 出處 </span>