add overrides for isComplete and getMaskLength
add overrides for isComplete and getMaskLength
add oncomplete to regex alias
add oncomplete to regex alias
merge branch '2.x' into 2.6