Package com.github.tadukoo.parsing
Interface CommonPatterns
- All Known Implementing Classes:
JSONConverter
,TadFormatRegexConverter
public interface CommonPatterns
Common Patterns is an interface containing common
Pattern
s for use in parsing- Since:
- Alpha v.0.2.3
- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Pattern
Pattern to match a boolean (true or false)static final Pattern
Pattern to match a Boolean (true, false, or null)static final Pattern
Pattern to match null (literally just the word null lol)static final Pattern
Pattern to match a number (e.g.static final Pattern
Pattern to match a quoted string (e.g.
-
Field Details
-
nullFormat
Pattern to match null (literally just the word null lol) -
booleanFormat
Pattern to match a boolean (true or false) -
nullableBooleanFormat
Pattern to match a Boolean (true, false, or null) -
numberFormat
Pattern to match a number (e.g. 3, 4.192, or 1.928E+32) -
quotedStringFormat
Pattern to match a quoted string (e.g. "some_string")
-