As it stands, the State of California has a bureau that uses software to ensure new laws do not conflict with existing ones.
My (probably incomplete or incorrect) understanding was that they would vet a new law by doing keyword searches concerning the main points of the new law. So if a there was a new law about people's lawns, they'd search for "lawn" and whatever other keywords or synonyms would occur to them.