in reply to Something strange in the world or Regexes
Try to post a link to the real input. Downloading it I see no space at the line ends at all:
00000000 6d 6d 75 2d 6d 69 52 2d 37 30 34 a0 0d 0a 6d 6d |mmu-miR-704...mm|Which is slightly funny alright (LFA0+CRLF; thx to ikegami below), but possibly an artefact of the site markup + pasting. And probably NOT what you're using. (If I just paste from the node, I also see a trailing 0x20 space, like Corion)
also to check: how do you get the input: $temp - does it contain any LF or CR line endings?
update: also to check: char encoding of the stuff you get? cat -vet/hd/od -x might help in figuring out things (the last two being examples of those "hex dumpers" on unix or in cygwin, xxd is probably also widely available and used for vim's pseudo hex mode).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Something strange in the world or Regexes
by ikegami (Patriarch) on Sep 30, 2009 at 11:00 UTC | |
|
Re^2: Something strange in the world or Regexes
by mrguy123 (Hermit) on Sep 30, 2009 at 10:04 UTC | |
by almut (Canon) on Sep 30, 2009 at 10:22 UTC | |
by JavaFan (Canon) on Sep 30, 2009 at 11:38 UTC | |
by ikegami (Patriarch) on Sep 30, 2009 at 18:48 UTC | |
by jakobi (Pilgrim) on Sep 30, 2009 at 11:47 UTC | |
by JavaFan (Canon) on Sep 30, 2009 at 14:08 UTC | |
by jakobi (Pilgrim) on Sep 30, 2009 at 10:32 UTC |