Class SurrogateRegexTranslator.SimpleCharClass

    • Constructor Detail

      • SimpleCharClass

        public SimpleCharClass​(int containsBmp,
                               int containsNonBmp)
        Create a SimpleCharClass
        Parameters:
        containsBmp - true if the class includes BMP characters
        containsNonBmp - true if the class includes non-BMP characters
    • Method Detail

      • inClassOutputBmp

        public abstract void inClassOutputBmp​(FastStringBuffer buf)
        Output a representation of the subset of this character class that's within the BMP, to a supplied buffer, using regex syntax that will be valid within a character class expression (that is, within square brackets)
        Parameters:
        buf - the supplied buffer