On Thursday, March 2, 2017 at 6:50:16 AM UTC-7, Nyah Check wrote:
>
> I am currently developing an application that identifies strings looking 
> like a file path and collects them and returns the array of strings. Over 
> the past week, I developed a regex to identify file paths  to this: 
> "(?:/[A-Z\\d.][A-Z\\d\\-.]{0,61})+". That does not seem to work. Can 
> anyone give me an alternative? 
>

Untested: (/[^/\s[:^graph:]]{1,61})+

— Scott

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to