Regular Expression Decoder In Digital Electronics