Giter Site home page Giter Site logo

Comments (6)

ArtSabintsev avatar ArtSabintsev commented on August 25, 2024

Hey, @nefarianblack!

Thanks for the offer to help. I have a feeling this might not need to be done as NSRegularExpression seems to be exposed on the OSS version of Swift's Foundation library:

https://github.com/apple/swift-corelibs-foundation/blob/fca0a34ab9cb017b085457046856d9dd73c03384/Foundation/NSRegularExpression.swift

However, if you still want to try, I'm envisioning a Parser that works with the existing Array, String, and Character APIs. Feel free to get started on that if you'd like!

from guitar.

ArtSabintsev avatar ArtSabintsev commented on August 25, 2024

Alright, did some research and testing. NSRegularExpression is indeed supported on both macOS and Linux. I will therefore add some syntactic sugary code on top of it, which I already have stored locally in another file.

Thanks for the offer - closing this issue.

from guitar.

nefarianblack avatar nefarianblack commented on August 25, 2024

Sure! 🤘
Excited for that update on regex!

from guitar.

ArtSabintsev avatar ArtSabintsev commented on August 25, 2024

Me too. Probably later tonight!

from guitar.

ArtSabintsev avatar ArtSabintsev commented on August 25, 2024

Started working on it: #7

It'll be done tomorrow.

from guitar.

ArtSabintsev avatar ArtSabintsev commented on August 25, 2024

Merged it in.

https://github.com/ArtSabintsev/Guitar/blob/master/Sources/GuitarRegex.swift

from guitar.

Related Issues (8)

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.