Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: strip out anything inbetween brackets

by Smylers (Pilgrim)
on Apr 05, 2005 at 16:43 UTC ( [id://445034]=note: print w/replies, xml ) Need Help??


in reply to Re: strip out anything inbetween brackets
in thread strip out anything inbetween brackets

you may also wish to note that the "(" and ")" in your question are "parentheses" rather than "brackets"

Don't be so dogmatic! I don't know where the original poster is from, but in everyday speech (and indeed punctuation manuals) in the UK "(" and ")" are indeed called "brackets"; the same may well be true in other places. The word "parentheses" is known in the UK, but it's rarely heard and somebody using it risks sounding pretentious.

Likewise, what you call "speech marks" are (if I understand you correctly) "quotation marks" or, loosely and idiomatically, "double quotes"

"Speech marks" is also a commonly understood term in the UK.

TMTOWTDI! Other people may come from cultures which use different terms for some things. That's OK — as human beings we can cope with occasionally having to take a second longer to read an unfamiliar phrase. It certainly doesn't mean that 'your' terms are 'right' and the other person's are 'wrong'.

Smylers

  • Comment on Re^2: strip out anything inbetween brackets

Replies are listed 'Best First'.
Re^3: strip out anything inbetween brackets
by ww (Archbishop) on Apr 05, 2005 at 17:10 UTC
    smylers:

    You're right, of course. I, especially, should not fall into a regionalistic trap like that. but, on the other hand, I will cheerfully risk begin viewed as "pretentious" if that's the result of an effort to communicate clearly, in the language of the listener or reader.

    But, for my info, how does UK-English distinguish among parens, squarebrackets, angle-brackets and curly-brackets? (others offering distinctive regionalisms or national-useages encouraged too!)

    and, for what LITTLE it's worth, I do not recall hearing (as a child in Edinburgh) any teacher referring to "" as speech-marks.

      I will cheerfully risk begin viewed as "pretentious" if that's the result of an effort to communicate clearly, in the language of the listener or reader.

      Oh, that's fair enough &mdash you're allowed to do that yourself, and in a Perl forum I agree with you and personally would say "parens" — but it seems a bit off to try and force pretentiousness on others!

      how does UK-English distinguish among parens, squarebrackets, angle-brackets and curly-brackets?
      (...)brackets
      [...]square brackets
      <...>angle brackets or angled brackets or pointy brackets (no real standard term, as they don't occur much as punctuation symbols in everyday life, outside of computer coding)
      {...}braces

      Smylers

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://445034]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-26 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found