atPatten;
        }

        var bookIndexUrl = $("#bookIndexUrl").val();

        if (bookIndexUrl.length == 0) {
            layer.alert("小说目录页的URL规则必填");
            return false;
        }

        crawlRule.bookIndexUrl = bookIndexUrl;


        var bookIndexStart = $("#bookIndexStart").val();

        if (bookIndexStart.length > 0) {
            crawlRule.bookIndexStart = bookIndexStart;
        }

        var indexIdPatten = $("#indexIdPatten").val();

        if (indexIdPatten.le