Module: OpenTaxFormFiller::Pjsons::Constants

Includes:
Constants
Included in:
OpenTaxFormFiller::Pjsons
Defined in:
app/models/open_tax_form_filler.rb

Constant Summary collapse

Open_tax_filler_directory =
"../OpenTaxFormFiller/#{Default_tax_year}"
Data_source_directory =
'test/data_sources'
Record_separator =
'},\n'
Field_name_regexp =
'"F(?<field_number>[0-9a-f]+)":{\n'
Start_regexp =
'"fdf":"(?<form_type>topmostSubform|form1)\[0\].Page(?<page>1|2)\[0\]\.'
Path_regexp =
'(?<path>[A-Za-z]+\.){0,3}'
Last_field_regexp =
'(?<field_designator>p[0-9]-t?[0-9]+|f[0-9]+[_-][0-9]+)\[0'
End_regexp =
'\]",\n\"type\":\"text\"\n},'
Full_regexp_array =
[Field_name_regexp, Start_regexp, Path_regexp, Last_field_regexp, End_regexp]

Constants included from Constants

Constants::Default_tax_year