Lawtext core references • Docs
Lawtext core references / core/src/law/lawNum
core/src/law/lawNum
Variables
ptnLawNum
const
ptnLawNum: "(?:(?<era>明治|大正|昭和|平成|令和)(?<year>[一二三四五六七八九十]+|元)年(?:(?:(?<type1>[^ \t\r\n<>()()[\][]{}{}「」]+?)(?:第(?<num1>[〇一二三四五六七八九十百千]+)号))|(?:(?<type2>人事院規則)(?<num2>[―〇一二三四五六七八九]+))|(?:([一二三四五六七八九十]+)月([一二三四五六七八九十]+)日(?<type3>内閣総理大臣決定))|(?:(?<type4>憲法|勅令|内務省・鉄道省令|逓信省・鉄道省令|逓信省・農林省令|農林省・大蔵省・内務省令第(?<num3>〇)号))))" ="(?:\ (?<era>明治|大正|昭和|平成|令和)(?<year>[一二三四五六七八九十]+|元)年\ (?:\ (?:\ (?<type1>[^ \t\r\n<>()()[\\][]{}{}「」]+?)\ (?:第(?<num1>[〇一二三四五六七八九十百千]+)号)\ )\ |\ (?:\ (?<type2>人事院規則)\ (?<num2>[―〇一二三四五六七八九]+)\ )\ |\ (?:\ ([一二三四五六七八九十]+)月([一二三四五六七八九十]+)日\ (?<type3>内閣総理大臣決定)\ )\ |\ (?:\ (?<type4>憲法|勅令|内務省・鉄道省令|逓信省・鉄道省令|逓信省・農林省令|農林省・大蔵省・内務省令第(?<num3>〇)号)\ )\ )\ )"
Defined in
core/src/law/lawNum.ts:4 (opens in a new tab)
ptnLawNumArabic
const
ptnLawNumArabic: "(?:(?<a_era>明治|大正|昭和|平成|令和)(?<a_year>[01234567890123456789]+)年(?:(?:(?<a_type1>[^ \t\r\n<>()()[\][]{}{}「」]+?)(?:第(?<a_num1>[01234567890123456789]+)号))|(?:(?<a_type2>人事院規則)(?<a_num2>[―01234567890123456789]+))|(?:([01234567890123456789]+)月([01234567890123456789]+)日(?<a_type3>内閣総理大臣決定))|(?:(?<a_type4>憲法|勅令|内務省・鉄道省令|逓信省・鉄道省令|逓信省・農林省令|農林省・大蔵省・内務省令第(?<a_num3>[00])号))))" ="(?:\ (?<a_era>明治|大正|昭和|平成|令和)(?<a_year>[01234567890123456789]+)年\ (?:\ (?:\ (?<a_type1>[^ \t\r\n<>()()[\\][]{}{}「」]+?)\ (?:第(?<a_num1>[01234567890123456789]+)号)\ )\ |\ (?:\ (?<a_type2>人事院規則)\ (?<a_num2>[―01234567890123456789]+)\ )\ |\ (?:\ ([01234567890123456789]+)月([01234567890123456789]+)日\ (?<a_type3>内閣総理大臣決定)\ )\ |\ (?:\ (?<a_type4>憲法|勅令|内務省・鉄道省令|逓信省・鉄道省令|逓信省・農林省令|農林省・大蔵省・内務省令第(?<a_num3>[00])号)\ )\ )\ )"
Defined in
core/src/law/lawNum.ts:28 (opens in a new tab)
ptnLawNumLike
const
ptnLawNumLike: "(?:(?:(?:(?<era>明治|大正|昭和|平成|令和)(?<year>[一二三四五六七八九十]+|元)年(?:(?:(?<type1>[^ \t\r\n<>()()[\][]{}{}「」]+?)(?:第(?<num1>[〇一二三四五六七八九十百千]+)号))|(?:(?<type2>人事院規則)(?<num2>[―〇一二三四五六七八九]+))|(?:([一二三四五六七八九十]+)月([一二三四五六七八九十]+)日(?<type3>内閣総理大臣決定))|(?:(?<type4>憲法|勅令|内務省・鉄道省令|逓信省・鉄道省令|逓信省・農林省令|農林省・大蔵省・内務省令第(?<num3>〇)号)))))|(?:日本国憲法)|(?:(?:(?<a_era>明治|大正|昭和|平成|令和)(?<a_year>[01234567890123456789]+)年(?:(?:(?<a_type1>[^ \t\r\n<>()()[\][]{}{}「」]+?)(?:第(?<a_num1>[01234567890123456789]+)号))|(?:(?<a_type2>人事院規則)(?<a_num2>[―01234567890123456789]+))|(?:([01234567890123456789]+)月([01234567890123456789]+)日(?<a_type3>内閣総理大臣決定))|(?:(?<a_type4>憲法|勅令|内務省・鉄道省令|逓信省・鉄道省令|逓信省・農林省令|農林省・大蔵省・内務省令第(?<a_num3>[00])号))))))"
Defined in
core/src/law/lawNum.ts:52 (opens in a new tab)
Functions
lawNumLikeToLawNum()
lawNumLikeToLawNum(
lawNum
):string
Parameters
• lawNum: string
Returns
string
Defined in
core/src/law/lawNum.ts:61 (opens in a new tab)
parseLawNum()
parseLawNum(
lawNum
):LawNumStruct
Parameters
• lawNum: string
Returns
LawNumStruct