text: public RawSubStringPattern(string patternText){if (patternText.Length == 0){throw new ArgumentException(JGitText.Get().cannotMatchOnEmptyString);}needleString = patternText;byte[] b = Constants.Encode(patternText);needle = new byte[b.Length];for (int i = 0; i < b.Length; i++){needle[i] = Lc(b[i]);}}