regex - Java Pattern.quote -


i pretty new patterns , great.

i building webcrawler, looks specific pattern in path.

right using pattern.quote produce literal string.

let's pattern.quote produces \q/test/live/167909\e in after second slash (thus live) same. because test , 167909 random created pattern \q/*/live/*\e , can't use create new pattern.

any welcome.

the expression ".*/live/.*" matches paths pattern describe. can create pattern that.

alternatively, peter said, ask path.contains("/live/");


Comments

Popular posts from this blog

Glib GIOChannel -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -