Implement new name matching method

Fixed a bug in `createLawInfos.js` first.