字符串: id=hot&page=seek&index=2
其中, id=hot必须有, page可有可无,如果page有的话,必须有page=seek这种形式,如果page没有的话, id=hot& 最后的&也不能有
如果id=hot后面没有page=seek, 那么index=2必须不能有
如果id=hot&page=seek的情况下, index可有可无, 如果index有的话,必须有 index=2 这种形式,如果index没有的情况下 page=seek&最后的&也不能有
其中
id=hot -> 值 .A-Za-z0-9
page=seek -> 值 .A-Za-z0-9
index=2 -> 值.A-Za-z0-9
/^id=[A-Za-z0-9]+(&page=[A-Za-z0-9]+(&index=[A-Za-z0-9]+)?)?$/