private void word(int dir, State lp, State rp) {
        assert dir == AHEAD || dir == BEHIND;
        cloneouts(nfa, wordchrs, lp, rp, dir);
    /* (no need for special attention to \n) */
    }
private void word(int dir, State lp, State rp) {
        assert dir == AHEAD || dir == BEHIND;
        cloneouts(nfa, wordchrs, lp, rp, dir);
    
    }
private void word ( int dir , State lp , State rp ) { assert dir == AHEAD || dir == BEHIND ; cloneouts ( nfa , wordchrs , lp , rp , dir ) ; /* (no need for special attention to \n) */ }
word - generate arcs for word character ahead or behind
word - generate arcs for word character ahead or behind