0

How should I include the regex library in my code? I've notice an old fork of this esp8266 Arduino repository have the regex.h that I think could use but it has string and wstring dependencies so should I add the whole "/bits" directory?

There's a "regex.h" library in the main esp8266 Arduino repository but I think it's a light version just to compile the necessary code and I should add the whole version in the project by my self.

1 Answer 1

2

The regex header included as part of the repository is just part of GCC's C++ standard headers. Complete support for C++11's regex was not released until 4.9 (The Xtensa SDK only includes 4.8), so, you wont be able to really use that particular regex implementation.

You will need to find an alternate regex library, namely one that isn't dependent on any OS.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.