Regex를 테스트하려면 https://regex101.com/를 추천한다.

 

이번 글의 주제는 모든 localhost url에 대한 regex이다.

 

대충 아래와 같은 url이 있다고 가정하자

 

http://localhost:80/qw9081283

localhost/qw9081283/23423

http://localhost:80/qw9081283?9023/23423

https://localhost

 

패턴을 분석해 보면 아래와 같다.

1. http:// or https:// or 없음

2. localhost

3. (:[포트번호]) or 없음

4. 모든 문자

 

분석한 패턴을 만들어 보면 다음과 같다.

1. (http:\/\/|https:\/\/)?

    - (조건1|조건2)

    - ?는 왼쪽의 식이 있거나 없거나

2. localhost

    - localhost와 정확히 일치

3. (:[0-9]+)?

    - : 와 정확히 일치

    - 0-9범위의 숫자

    - +는 왼쪽의 식이 1개 이상 있음

    - ?는 왼쪽의 식이 있거나 없거나

4. .*

    - 모든 문자

 

하나로 합치면 다음과 같다

(http:\/\/|https:\/\/)?localhost(:[0-9]+)?.*

A Stormy day


Genre


Arcade, Avoid


Introduce


Danger things fall from the sky.


Move far away until meteorites doesn't fall!


But I do not know where this meteor storm is going to end.


Run as far as you can!



특징


- Meteorites falls from the sky. Avoid!


- Move far away until meteorites doesn't fall.


- Coins are falling with meteorites. collect it!


- This game's goal is 'Move far away'. not 'Avoid long time', not 'avoid many meteorites'.


- You can play this game only one finger!


- You can buy 'Character egg' to collected coins. Which character is there in it?


- Each character has a place to live! What is the place in which your character will avoid meteorites?



Screen Shot


`


Game play video




Promotion video






Download



Android - https://play.google.com/store/apps/details?id=com.urgame.astormyday


iPhone - https://itunes.apple.com/us/app/a-stormy-day/id1195340715?l=ko&ls=1&mt=8


'Introduce > Products' 카테고리의 다른 글

A Stormy day - 한글  (0) 2017.02.01

A Stormy day (폭풍이 치는 날)


장르


아케이드, 피하기


설명


하늘에서 위험한 물체들이 떨어집니다.


이 위험한 물체들이 떨어지지 않는 곳 까지 멀리 달아나야 합니다.


하지만 어디까지 가야 이 운석 폭풍이 끝이 날지 모르겠네요..


최대한 멀리 도망쳐 보시기 바랍니다!



특징


- 하늘에서 맞으면 아플것 같은 물체들이 떨어집니다! 피하세요!


- 물체들을 피해 물체들이 떨어지지 않는 곳 까지 도망가야 합니다!


- 이유는 모르겠지만 동전도 떨어집니다! 모으세요!


- 멀리 도망 가는 것이 목적입니다! 오래, 많이 피하는것은 소용이 없습니다!


- 손가락 한 개만으로 게임을 플레이 할 수 있습니다! 간단하죠!


- 모은 동전으로 캐릭터의 알을 구매해 부화시킬 수 있습니다! 어떤 캐릭터가 들어있을까요?


- 각 캐릭터는 살고 있는곳이 있습니다! 당신이 소유한 캐릭터가 물체를 피하게 될 배경은 어디일까요?



스크린샷


`


구동 영상




프로모션 영상






다운로드



안드로이드 - https://play.google.com/store/apps/details?id=com.urgame.astormyday


아이폰 - https://itunes.apple.com/us/app/a-stormy-day/id1195340715?l=ko&ls=1&mt=8


'Introduce > Products' 카테고리의 다른 글

A Stormy day - English  (0) 2017.02.01

Hello! I'm InURSoft


I'm independence developer. 


Team name has not mean.


We apologize for the lengthy launch cycle. Because i'm student.


We apologize for the delay in the update or release cycle because you are a student.


There are lots of ideas for games or services i'm thinking! If the development cost is enough, I will develop it one by one.


Thank you for visit.

'Introduce > About' 카테고리의 다른 글

소개  (0) 2017.01.31

안녕하세요 InURSoft입니다.


1인 개발자 입니다만 팀 이름은 큰 의미가 없습니다.


학생의 신분이기 때문에 업데이트나 새로운 소프트웨어를 출시하는 주기가 많이 늦을 수 있는 점 죄송하게 생각 합니다.


생각하고 있는 게임 또는 서비스 아이디어가 많습니다! 개발 비용이 넉넉해 지면 하나 하나씩 개발해 보겠습니다.


부족하지만 잘 부탁드립니다!

'Introduce > About' 카테고리의 다른 글

Introduce  (0) 2017.01.31

+ Recent posts