Esempio 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);
 }
Esempio n. 2
0
File: Tag.cs Progetto: 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;
 }