search for: fooooobar

Displaying 1 result from an estimated 1 matches for "fooooobar".

Did you mean: foooobar
2011 Feb 25
0
Named capture in regexp
...esult,"capture.length")[i,]-1) })) colnames(m) <- attr(result,"capture.names") m } string <- c("another foobar bazing string", "fbar baz foooobar baz", "no matches here", "my foobar baz st another fooooobar baz dude fobar baz") notables <- c(" Ben Franklin and Jefferson Davis","\tMillard Fillmore") name.rex <- "(?<first>[A-Z][a-z]+) (?<last>[A-Z][a-z]+)" for(i in 1:100) parsed <- gregexpr(name.rex,notables,perl=TRUE) parsed[[1]] result2list(nota...