public static Builder regex ( final Builder pBuilder ) { Builder builder = new Builder ( ) ; //Using created StringBuilder builder . prefixes . append ( pBuilder . prefixes ) ; builder . source . append ( pBuilder . source ) ; builder . suffixes . append ( pBuilder . suffixes ) ; builder . modifiers = pBuilder . modifiers ; return builder ; }
Creates new instance of VerbalExpression builder from cloned builder