Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- improve-iq-by-up-to-10%!
- css
- ajax
- 정규표현식
- flex-shrink
- es6
- Sass
- flex-grow
- flex-basis
- css grid
- shit-christmas
- Object.create
- regExp
- Node.js
- close together
- img 확대
- 무료 백엔드 배포
- JS
- express-handlebars
- Prototype
- Engoo
- Express
- css variables
- flexbox
- 디자인패턴
- node
- select by attribute
- module wrapper function
- just-one-small-sip
- css 오버레이
Archives
- Today
- Total
목록특수문자 (1)
Metacharacters in JS RegExp, 정규표현식에서의 특수문자
와일드 카드 역할을 하는 .과 *의 차이점과, 선택적인 문자검색을 할 수 있게 하는 ?의 정확한 이해에 주의하며 아래의 코드를 참조해주세요. let regExp; // literal charcters regExp = /hello/i; // Metacharacter Symbols 특수문자 regExp = /^hel/i; // ^ 뒤에 나오는 문자열로 시작하는 문자열만 검색 regExp = /orld$/i; // $ 앞에 나오는 문자열로 끝나는 문자열만 검색 regExp = /^hello$/i; // ^ 뒤에 나오는 문자열로 시작하고, $앞에 나오는 문자열로 끝나는 문자열만 검색 regExp = /h.o/i; // .에 해당하는 하나의 문자는 아무 값이나 들어가도 된다고 인식하고 검색 (ex. hlo) re..
2021 프론트 엔드 로드맵 따라가기/JS
2021. 6. 12. 18:38