Class TableMatcher


  • public class TableMatcher
    extends Object
    Renjin does not support negative lookahead so doing this is java. The findWord method in MdTable seems to work now so this is not used. Example usage: if (TableMatcher$find(attr[["class"]])) print("has table in the class attribute")
    • Constructor Detail

      • TableMatcher

        public TableMatcher()
    • Method Detail

      • find

        public static boolean find​(org.renjin.sexp.SEXP text)
        in case something weird is sent to find, we overload with a "catch all"
        Parameters:
        text - the text to match on
        Returns:
        true if a match is found else false
      • find

        public static boolean find​(String text)
        determine whether the text contains the word table
        Parameters:
        text - the text to match on
        Returns:
        true if a match is found else false