1
/* Copyright (C) 2000 MySQL AB
2
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
as published by the Free Software Foundation; version 2 of
7
9
This program is distributed in the hope that it will be useful,
8
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
12
GNU General Public License for more details.
12
14
You should have received a copy of the GNU General Public License
13
15
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
20
Replace strings in textfile
842
845
found_set[i].table_offset=table_offset;
843
846
found_set[i].found_offset=found_offset;
845
return (short) (-i-2); /* return new postion */
848
return (short) (-i-2); /* return new position */
848
851
/* Return 1 if regexp starts with \b or ends with \b*/