Region function ( int arg0 , String arg1 , boolean arg2 , boolean arg3 , boolean arg4 , boolean arg5 ) { Assert . isTrue ( ! ( arg5 && arg4 ) ) ; if ( arg0 == - 1 && arg2 ) arg0 = 0 ; if ( arg0 == - 1 && ! arg2 ) arg0 = length ( ) - 1 ; return findReplace ( FIND_FIRST , arg0 , arg1 , null , arg2 , arg3 , arg4 ) ; }
returns the location of a given string in this adapter 's document based on a set of search criteria . concode_field_sep FindReplaceOperationCode REPLACE_FIND_NEXT concode_elem_sep FindReplaceOperationCode REPLACE concode_elem_sep FindReplaceOperationCode FIND_FIRST concode_elem_sep Document fDocument concode_elem_sep FindReplaceOperationCode FIND_NEXT concode_elem_sep FindReplaceOperationCode fFindReplaceState concode_elem_sep RegExp regExp concode_elem_sep int fFindReplaceMatchOffset concode_field_sep String asRegPattern concode_elem_sep String escapeForRegExPattern concode_elem_sep Region replace concode_elem_sep int length concode_elem_sep Region findReplace concode_elem_sep String toString concode_elem_sep CharSequence subSequence concode_elem_sep char charAt