private Pattern findingCompositePattern() {
        String startingWords = concatenateInitialStartingWords();
        return compile(keywords().composite() + "(.*?)\\s*(?:\n\\s*" + keywords().priority() + "\\s*(\\d+)\\s*)?"
                + startingWords + ".*", DOTALL);
    }
private Pattern findingCompositePattern ( ) { String startingWords = concatenateInitialStartingWords ( ) ; return compile ( keywords ( ) . composite ( ) + "(.*?)\\s*(?:\n\\s*" + keywords ( ) . priority ( ) + "\\s*(\\d+)\\s*)?" + startingWords + ".*" , DOTALL ) ; }
Regex Patterns