Formatron v0.4.9
Formatron empowers everyone to control the output format of language models with minimal overhead.
Loading...
Searching...
No Matches
regex.py File Reference

Go to the source code of this file.

Classes

class  formatron.formats.regex.RegexExtractor
 An extractor that extracts a string using a regular expression. More...
 
class  formatron.formats.regex.RegexComplementExtractor
 An extractor that extracts data by matching a regex complement. More...
 

Namespaces

namespace  formatron
 
namespace  formatron.formats
 This subpackage contains modules that operate with concrete formats, like json.
 
namespace  formatron.formats.regex
 This module contains the RegexExtractor class, which is used to extract data using a regular expression.