I am currently developing my first rules, one of them should ignore spell check on URLs without http at the beginning. So I tried to create a pattern of my working regex:
<rule name="Ignorieren von Internetadressen" id="IGNORE_URLS"> <pattern case_sensitive="yes"> <!-- @see http://regexr.com/39a8d --> <token regexp="yes">https?\:\/\/|\w*</token> <token>.</token> <token regexp="yes">[^\/\s]+</token> <token regexp="yes">\/.*?</token> </pattern> <disambig action="ignore_spelling"/> </rule>
But it does not match? What I am doing wrong? Is the “.” token the problem?
Is there an existing rule for URLs with HTTP prefix? Because they seams not to be checked, I did not find one…