Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3ed16a5

Browse files
authored
Update task.md
1 parent fe7267b commit 3ed16a5

File tree

1 file changed

+5
-5
lines changed
  • 9-regular-expressions/09-regexp-quantifiers/2-find-html-colors-6hex

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Regexp for HTML colors
1+
# HTML renkler için düzenli ifade (regexp)
22

3-
Create a regexp to search HTML-colors written as `#ABCDEF`: first `#` and then 6 hexadecimal characters.
3+
`#ABCDEF` şeklinde yazılmış HTML-renklerini aramak için bir düzenli ifade oluşturun: önce `#` ve ardından 6 onaltılık karakterler gelmesi lazım.
44

5-
An example of use:
5+
Bir kullanım örneği:
66

77
```js
8-
let regexp = /...your regexp.../
8+
let regexp = /...senin duzenli ifaden.../
99

1010
let str = "color:#121212; background-color:#AA00ef bad-colors:f#fddee #fd2 #12345678";
1111

1212
alert( str.match(regexp) ) // #121212,#AA00ef
1313
```
1414

15-
P.S. In this task we do not need other color formats like `#123` or `rgb(1,2,3)` etc.
15+
NOT: Bu görevde `#123` veya `rgb(1,2,3)` vb. diğer renk formatlarına ihtiyacımız yoktur.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /