Giter Club home page Giter Club logo

chinesenumberconvert's People

Contributors

jasongrass avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

supersadmin

chinesenumberconvert's Issues

我也不知道为啥子我就找到了你这个项目,然后发现了一个小小的问题

最近无聊,闲的慌。
写了点爬虫,对的就是爬小说的

突然想给小说按章节排序,小说的章节都是那种 “第一千三百零一章” 这种格式的

然后想到了看能不能找到 关于中文转阿拉伯数字的方法 XD

就找到这里来了

看了大佬写的代码,觉得非常的[牛][啤]

一切都挺好的,我将大佬的代码融合到我的那个小小爬虫程序中

突然

没错就是突然

发现

"第十章" => 正则出 "十" => 大佬的代码转换 => 补位至6位长度 => 000000
"第十一章" => 正则出 "十" => 大佬的代码转换 => 补位至6位长度 => 000001

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.