1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Xomw: Add TitlePrefix regex

This commit is contained in:
gnosygnu
2017-02-24 09:38:15 -05:00
parent 35bbd888ae
commit af4e7ab6c4
3 changed files with 73 additions and 0 deletions

View File

@@ -226,6 +226,14 @@ public class Bry_find_ {
--cur;
}
}
public static int Find_bwd_while_v2(byte[] src, int cur, int end, byte while_byte) {
--cur;
while (true) {
if ( cur < end
|| src[cur] != while_byte) return cur + 1;
--cur;
}
}
public static int Find_fwd_while(byte[] src, int cur, int end, byte while_byte) {
while (true) {
if ( cur == end