createTextPatternScanner

Provides TextPatternScanner.

Return

a new instance of TextPatternScanner. Never null.