Implement multiple matching per line in Karma