recentpopularlog in

therobyouknow : split   14

SubMatches Collection
How to extract out multiple matching substrings from a string using a regular expression with grouping curved brackets to identify each substring (group)
programming  regularexpressions  visualbasic  vb  vbscript  microsoft  development  windows  computing  work  howto  grouping  group  regex  regexp  extract  extraction  split  visual  basic  submatches  function  method  subexpressions  enclosed  capturing  parentheses  index  select  multiple  substring  curved  bracket 
june 2010 by therobyouknow
perl split whitespace -
Clean up preceding and afterwards whitespace before splitting between whitespace delimited items, to avoid blank array elements.
perl  split  array  whitespace  prepare  cleanup  computing  work 
november 2009 by therobyouknow
Re: Assign a delimiter variable -
my $delimiter = "\\"; # for dos
my @pathComponents = split( /\Q$delimiter/, $pathAndFile );

The /\Q is so obscure. Yet another example of perl's obscurity; other languages would just accept the delimiter as parameter without that nonsense
assign  delimiter  variable  perl  split  howto  define  programming  computing  solution  array  string  convert  separate  separation  separator  character  obscure  bizarre  example  linenoise  difficult  nonsense  reference 
october 2009 by therobyouknow

Copy this bookmark:

to read