in reply to separating two sententences
One thing that's not doing what you want is the if(/("/w+/")/){ line. Let's analyze it.
# if. Nothing weird yet. # | # | Okay. A regex. But where's the ")"? # | | # | | What's this? ;) # | | | # | | | End of condition part. # | | | | # | | | | A random slash # | | | | | # | | | | | A random closing paren. # | | | | | | if( /("/ w+/" ) / ) {
What are those inner slashes doing there anyway?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: separating two sententences
by Anonymous Monk on Sep 16, 2011 at 04:30 UTC | |
by AnomalousMonk (Archbishop) on Sep 16, 2011 at 04:45 UTC | |
by muba (Priest) on Sep 16, 2011 at 05:02 UTC | |
by Sinistral (Monsignor) on Sep 16, 2011 at 14:01 UTC |