Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="regExp"></param>
 /// <param name="reverseDfa"></param>
 /// <param name="isAutoComplete"></param>
 /// <param name="isOptimistic"></param>
 /// <param name="showPlaceHolders"></param>
 /// <param name="anySymbolPlaceHolder"></param>
 /// <param name="managerCultureInfo"></param>
 public RegExpMaskManager(string regExp, bool reverseDfa, bool isAutoComplete, bool isOptimistic, bool showPlaceHolders, char anySymbolPlaceHolder, CultureInfo managerCultureInfo)
     : base(RegExpMaskManagerState.Empty)
 {
     _logic                = new RegExpMaskLogic(RegExpDfa.Parse(regExp, reverseDfa, managerCultureInfo), isAutoComplete);
     _isOptimistic         = isOptimistic;
     _showPlaceHolders     = showPlaceHolders;
     _anySymbolPlaceHolder = anySymbolPlaceHolder;
     _reverseDfa           = reverseDfa;
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="regExp"></param>
 /// <param name="culture"></param>
 /// <param name="isAutoComplete"></param>
 public RegExpMaskLogic(string regExp, CultureInfo culture, bool isAutoComplete) : this(RegExpDfa.Parse(regExp, culture), isAutoComplete)
 {
 }