suchangko / ku-cse Goto Github PK
View Code? Open in Web Editor NEW고수창 과제......
고수창 과제......
len(re.findall(r'([^\s]+)', x))
23634
총 23664 개의 * 을 찾았습니다.
According to POSIX regular expression, it should be 23634, but this code says it's 23664.
wc result:
$ wc sample.txt
1070 23634 123775 sample.txt
len(re.findall(r'(\s.\s)', x, re.I))
452
According to POSIX regular expression, it should be 452, but this code says it's 481.
The code sometimes finds some empty lines.
It should be 296.
Not matching two-drachma at line #581, four-drachma at line #584, Hosanna at line #692, and etc.
단어를 입력하세요 : t*?*s
총 0 개의 t*?*s 을 찾았습니다.
OR
단어를 입력하세요 : t**s
총 0 개의 t**s 을 찾았습니다.
$ ./homework_1
단어를 입력하세요 : a**b
[1] 63005 segmentation fault ./homework_1
len(re.findall(r'([^\s]a[^\s]?b[^\s])', x))
106
It should be 106 but this code matches only 15.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.