Comunitatea PHP Romania
 

 
Core JavaScript Reference 1.5: B Deprecated Features
Previous     Contents     Index     Next     
Core JavaScript Reference 1.5



Appendix B   Appendix B Deprecated Features


This appendix lists the features that are deprecated as of JavaScript 15.
  • RegExp Properties

    The following properties are deprecated.


    Property

    Description

    $1, ..., $9

     

    Parenthesized substring matches, if any.  

    $_

     

    See input.  

    $*

     

    See multiline.  

    $&

     

    See lastMatch.  

    $+

     

    See lastParen.  

    $`

     

    See leftContext.  

    $'

     

    See rightContext.  

    input

     

    The string against which a regular expression is matched.  

    lastMatch

     

    The last matched characters.  

    lastParen

     

    The last parenthesized substring match, if any.  

    leftContext

     

    The substring preceding the most recent match.  

    rightContext

     

    The substring following the most recent match.  

    The following are now properties of RegExp instances, no longer of the RegExp object.


    Property

    Description

    global

     

    Whether or not to test the regular expression against all possible matches in a string, or only against the first.  

    ignoreCase

     

    Whether or not to ignore case while attempting a match in a string.  

    lastIndex

     

    The index at which to start the next match.  

    multiline

     

    Whether or not to search in strings across multiple lines.  

    source  

    The text of the pattern.  

  • RegExp Methods
    The compile method is deprecated.
    The valueOf method is no longer specialized for RegExp. Use Object.valueOf.
  • Escape sequences
    Octal escape sequences (\ followed by one, two, or three octal digits) are deprecated in string and regular expression literals.
    The escape and unescape functions are deprecated. Use encodeURI, encodeURIComponent, decodeURI or decodeURIComponent to encode and decode escape sequences for special characters.

Previous     Contents     Index     Next     
Copyright © 2000 Netscape Communications Corp. All rights reserved.

Last Updated September 28, 2000

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
mihaitha mihaitha
Sibiu
Mascka Mascka
Braila
gabysolomon gabysolomon
Bacau
whooper whooper
Toronto ON
raul_ raul_
dechim dechim
Drobeta Turnu Severin
Amenthes Amenthes

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Auto Loans | Loans | HP Laptop | Mortgages | Verizon Ringtones
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis