Exemplo n.º 1
0
 public bool IsAt(EscapedString str, int pos)
 {
     if (!Begin.IsMatch(str, pos))
     {
         return(false);
     }
     return(End.Find(str, pos + Begin.Length) != null);
 }
Exemplo n.º 2
0
Arquivo: Tag.cs Projeto: anaym/md
 public bool IsAt(ParsedString str, int pos)
 {
     if (pos < 0) return false;
     if (!Begin.IsMatch(str, pos)) return false;
     return End.Find(str, pos + Begin.Length) != null;
 }