Web Programming-back end

Source: Internet
Author: User

1.js Regular Expression http://www.cnblogs.com/wupeiqi/articles/5602773.html

Test-Determines whether a string conforms to the specified regular

        

Regular expression: Rep =/\d+/

Rep.test (' AAS99SJ ') #true

Regular expression: Rep =/^\d+$/#开始符, Terminator

Rep.test (' AAS99SJ ') #false

EXEC-Get matching data

Regular expression: Rep =/\d+/

Rep.exec (' wuli_48_hong_34 ') #t [' 48 ']

Group:

Regular expression: Rep =/\bwu\w*b/

Rep.exec (' wuli_48_hong_34 ') #t [' Wuli ']

After grouping:

Regular expression: Rep =/\bwu (\w*) b/

Rep.exec (' wuli_48_hong_34 ') #t [' Wuli ', ' Li ']

Global match

Regular expression: Rep =/\bwu\w*b/g Plus g

Rep.exec (' wuli_48_wung_34 ') #执行第一次 [' Wuli ']

Rep.exec (' wuli_48_wung_34 ') #执行第二次 [' Wung ']

         

1. Define Regular expressions

    • /.../for defining regular expressions
    • /.../g represents a global match
    • /.../i indicates case insensitive
    • /.../m for multi-line matching
      JS regex matches itself to support multiple lines, where multiple lines match only affect the regular expression ^ and $,m mode will also use ^$ to match the contents of the newline)

 

          

2. Components

Bootsrap

-css

-js

 

3.web Frame

4.Django-the most complete frame

Web programming-back end

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.