Ask Experts Questions for FREE Help !
Ask
    NAND's Avatar
    NAND Posts: 1, Reputation: 1
    New Member
     
    #1

    Jun 22, 2007, 01:43 AM
    Escape characters
    While going through someone's program, I came across escape characters "\A" and "\B".
    I wanted to know whether this escape characters really exists in perl ?
    asterisk_man's Avatar
    asterisk_man Posts: 476, Reputation: 32
    Full Member
     
    #2

    Jun 23, 2007, 06:07 AM
    Perl Escape Characters

    Seems to imply that \a is bell and \b is backspace. Though \A and \B are not noted. Do they seem to do anything?
    sfbattles's Avatar
    sfbattles Posts: 3, Reputation: 1
    New Member
     
    #3

    Jul 2, 2007, 07:58 AM
    Escape Sequences \a Beep
    \b Backspace
    \c "Control" caracter. \cD = CTRL-D
    \e Escape
    \f Form feed
    \l Make the next letter lowercase
    \n New line, return.
    \r Carriage return.
    \t Tab.
    \u Make the next letter uppercase
    \x Enables hex numbers
    \v Vertical tab
    \\ Print backslash
    \" Print double quotes
    \ Escape next character if known otherwise print. Also allows octal numbers.
    \L Make all letters lowercase until the \E
    \U Make all letters uppercase until the \E
    \Q Add a backslash-quote to all the nonalphanumerics until the \E
    \E Terminates the effects of \L, \U, or \Q
    \007 Any octal ASCII value
    \x7f Any hexadecimal value
    \cx Control-x
    These look to be string pattern match escape sequences

    \B - Matches everywhere except between a word character and non-word character
    \A - Matches only at the beginning of a string
    I have not

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

CD player 2002 Ford Escape [ 1 Answers ]

I have an 02 ford escape an the cds are stuck an won't come out I have know idea what to do does anyone have some ideas?

Film characters [ 1 Answers ]

What famous film character was able to bootleg 480 pints of genuine Kansas city bourbon, design a gown and also speak more than 180 languages

Can I escape from an unpaid judgement? [ 4 Answers ]

Will a judgement that is unpaid be removed fom my credit report after 7 years, or will it only be removed 7 yrs AFTER it is paid? I have heard conflicting information. Also, does anyone out there know if you can qualify for a traditional mortgage loan with a credit score of 650 AND an unpaid...

I cannot escape [ 5 Answers ]

It’s been a year and two months. They try to tell you love fades with time, but I tell you there is no such thing as time. I had been with this guy for about a year a half starting the summer before my senior year in high school. He was never that great of a guy. The first six months of us being...


View more questions Search