HTMLè¦ç´ ãæãåºãæ£è¦è¡¨ç¾ãèªåçæããããã°ã©ã html2regexp ãä½ã£ãã®ã§å ¬éãã¾ãã æå¹å¸ã§è³¢ãåéè¿æ¸æ¹æ³ãæãã¾ãï¼ ä½¿ãæ¹ã¯ç°¡åã§ãHTMLãã¡ã¤ã«ä¸ã®æãåºãããHTMLè¦ç´ ã®å é ã¿ã°ã®æ«å°¾ã«h2rã¨æ¸ãå ããã ãã§ããä¾ãã°æ¬¡ã®ããã«æå®ãã¾ãã <ul> <li><a href="hoge" class="h" h2r>hoge</a></li> <li><a href="huga" class="h" h2r>huga</a></li> </ul> <div> <a href="f">f</a> </div>ããã¨ãhtml2regexpã¯ã2ã¤ã®aè¦ç´ ãæãåºã次ã®æ£è¦è¡¨ç¾ãçæãã¾ãã (<(\w*?)\s*([^>]*?" class="h"[^>]*?)>(.*?)<\/\2>)HTMLãæãåºãã¦å©ç¨ããããWebã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ããªã©ã®
{{#tags}}- {{label}}
{{/tags}}