com.taco.text
Interface ICommonRegexConstants

All Known Implementing Classes:
AbstractButtonConverter, BevelBorderConverter, BoxConverter, BracedPropertyCompositeConverter, ComponentConverter, CompoundBorderConverter, ContainerConverter, DialogConverter, DimensionConverter, DispatchingLayoutConverter.BorderLayoutConverter, DispatchingLayoutConverter.BoxLayoutConverter, DispatchingLayoutConverter.CardLayoutConverter, DispatchingLayoutConverter.ContainerDependentLayoutConverter, DispatchingLayoutConverter.FlowLayoutConverter, DispatchingLayoutConverter.GridLayoutConverter, EmptyBorderConverter, EtchedBorderConverter, ExtensionFileFilterConverter, FillerConverter, FrameConverter, GlueConverter, GridBagConstraintsConverter, ImageIconConverter, ImmutableCompositeConverter, InsetsConverter, IntArrayConverter, JAppletConverter, JButtonConverter, JCheckBoxConverter, JCheckBoxMenuItemConverter, JColorChooserConverter, JComboBoxConverter, JComponentConverter, JContainerConverter, JDesktopPaneConverter, JDialogConverter, JEditorPaneConverter, JFileChooserConverter, JFormattedTextFieldConverter, JFrameConverter, JInternalFrameConverter, JLabelConverter, JLayeredPaneConverter, JListConverter, JMenuBarConverter, JMenuConverter, JMenuItemConverter, JOptionPaneConverter, JPanelConverter, JPasswordFieldConverter, JPopupMenuConverter, JProgressBarConverter, JRadioButtonConverter, JRadioButtonMenuItemConverter, JScrollBarConverter, JScrollPaneConverter, JSeparatorConverter, JSliderConverter, JSpinnerConverter, JSplitPaneConverter, JTabbedPaneConverter, JTabbedPaneConverter.TabConverter, JTableConverter, JTableHeaderConverter, JTextAreaConverter, JTextComponentConverter, JTextFieldConverter, JTextPaneConverter, JToolBarConverter, JTreeConverter, JViewportConverter, JWindowConverter, LineBorderConverter, MatteBorderConverter, PointConverter, RectangleConverter, RigidAreaConverter, SeparatorConverter, StringToBeanShellInstanceConverter, StringToInstanceConverter, StringUtilities, StrutConverter, TableColumnConverter, TableColumnModelConverter, TitledBorderConverter, WindowConverter

public interface ICommonRegexConstants

Common regex strings and patterns used for string parsing.


Field Summary
static java.lang.String BOOLEAN_REGEX_STRING
          A regex string for a boolean.
static java.lang.String CHAR_REGEX_STRING
          A regex string for a character.
static java.lang.String FLOAT_REGEX_STRING
          A regex string for a signed floating point number.
static java.lang.String HEX_NUMBER_REGEX_STRING
          A regex string for a hexadecimal number (starts with 0x) and contains lower case letters.
static java.lang.String INTEGER_REGEX_STRING
          A regex string for an integer.
static java.lang.String JAVA_CLASS_NAME_REGEX_STRING
          A regex string for a fully qualified Java class name.
static java.lang.String LONG_HEX_REGEX_STRING
          A regex string for a long integer expressed as a hexadecimal number (starts with 0x).
static java.lang.String LONG_INTEGER_REGEX_STRING
          A regex string for a long integer.
static java.lang.String NON_NEGATIVE_FLOAT_REGEX_STRING
          A regex string for a non-negative floating point number.
static java.util.regex.Pattern PROPERTY_PREFIX_PATTERN
          The pattern compiled from PROPERTY_PREFIX_REGEX_STRING.
static java.lang.String PROPERTY_PREFIX_REGEX_STRING
          A regex string for the prefix of a property assignment.
static java.lang.String QUOTED_STRING_REGEX_STRING
          A regex string for a quoted string.
static java.util.regex.Pattern WHITESPACE_PATTERN
          A pattern for a whitespace character.
 

Field Detail

BOOLEAN_REGEX_STRING

static final java.lang.String BOOLEAN_REGEX_STRING
A regex string for a boolean. It accepts "true", "false", "yes", "no", as well as abbreviations with only the first letter.

See Also:
Constant Field Values

CHAR_REGEX_STRING

static final java.lang.String CHAR_REGEX_STRING
A regex string for a character. The character is enclosed in single quotes.

See Also:
Constant Field Values

HEX_NUMBER_REGEX_STRING

static final java.lang.String HEX_NUMBER_REGEX_STRING
A regex string for a hexadecimal number (starts with 0x) and contains lower case letters.

See Also:
Constant Field Values

INTEGER_REGEX_STRING

static final java.lang.String INTEGER_REGEX_STRING
A regex string for an integer.

See Also:
Constant Field Values

LONG_INTEGER_REGEX_STRING

static final java.lang.String LONG_INTEGER_REGEX_STRING
A regex string for a long integer. It ends with either a lower case or upper case 'L'.

See Also:
Constant Field Values

LONG_HEX_REGEX_STRING

static final java.lang.String LONG_HEX_REGEX_STRING
A regex string for a long integer expressed as a hexadecimal number (starts with 0x). It ends with either a lower case or upper case 'L'.

See Also:
Constant Field Values

NON_NEGATIVE_FLOAT_REGEX_STRING

static final java.lang.String NON_NEGATIVE_FLOAT_REGEX_STRING
A regex string for a non-negative floating point number. It may start with a decimal point and may contain a suffix indicating what power of 10 to multiply by.

See Also:
Constant Field Values

FLOAT_REGEX_STRING

static final java.lang.String FLOAT_REGEX_STRING
A regex string for a signed floating point number.

See Also:
Constant Field Values

QUOTED_STRING_REGEX_STRING

static final java.lang.String QUOTED_STRING_REGEX_STRING
A regex string for a quoted string. The string starts with a double quote, contains string of any character except a double quote, unless backslash-escaped, and ends in a double quote.

See Also:
Constant Field Values

JAVA_CLASS_NAME_REGEX_STRING

static final java.lang.String JAVA_CLASS_NAME_REGEX_STRING
A regex string for a fully qualified Java class name.

See Also:
Constant Field Values

WHITESPACE_PATTERN

static final java.util.regex.Pattern WHITESPACE_PATTERN
A pattern for a whitespace character.


PROPERTY_PREFIX_REGEX_STRING

static final java.lang.String PROPERTY_PREFIX_REGEX_STRING
A regex string for the prefix of a property assignment. It consists of an initial word (which may have letters, digits, '_', and/or '.'), optional whitespace, a '=' character, and more optional whitespace. The initial word is captured in group one, and is the property name.

See Also:
Constant Field Values

PROPERTY_PREFIX_PATTERN

static final java.util.regex.Pattern PROPERTY_PREFIX_PATTERN
The pattern compiled from PROPERTY_PREFIX_REGEX_STRING.