Parallel string matching with variable lengthdon't cares