Lines Matching refs:options
165 int options; /* regex options */
206 if (!(state.options & REG_AUGMENTED))
210 if (!(state.options & REG_AUGMENTED))
218 if (c = regcomp(&x->re, s, state.options|REG_MULTIPLE))
498 if ((result = regrexec(&x->re, span, len, state.posnum, state.pos, state.options, '\n', (void*)x, record)) < 0)
528 if ((result = regrexec(&x->re, s, len, state.posnum, state.pos, state.options, '\n', (void*)x, record)) < 0)
631 state.options = REG_FIRST|REG_NOSUB|REG_NULL;
634 state.options |= REG_LENIENT;
644 state.options |= REG_EXTENDED;
649 state.options |= REG_LITERAL;
654 state.options |= REG_EXTENDED|REG_LENIENT;
659 state.options |= REG_AUGMENTED;
681 state.options |= REG_EXTENDED;
684 state.options |= REG_LITERAL;
687 state.options &= ~(REG_AUGMENTED|REG_EXTENDED);
699 state.options |= REG_LENIENT;
702 state.options |= REG_EXTENDED|REG_LENIENT;
705 state.options &= ~REG_LENIENT;
721 state.options |= REG_FIRST;
724 state.options |= REG_LEFT;
730 state.options |= REG_RIGHT;
738 state.options |= REG_AUGMENTED;
743 state.options &= ~(REG_FIRST|REG_NOSUB);
758 state.options |= REG_ICASE;
786 state.options &= ~REG_INVERT;
788 state.options |= REG_INVERT;
794 state.options |= REG_LEFT|REG_RIGHT;
810 if ((state.options & REG_LITERAL) && (state.options & (REG_AUGMENTED|REG_EXTENDED)))
812 if ((state.options & REG_LITERAL) && state.words)
820 if (!(state.options & (REG_FIRST|REG_NOSUB)))
822 if (state.count || state.list || state.query || (state.options & REG_INVERT))
823 state.options |= REG_FIRST|REG_NOSUB;