tiny-regex-c icon indicating copy to clipboard operation
tiny-regex-c copied to clipboard

update comment

Open krishna116 opened this issue 4 years ago • 2 comments

Hi kokke, I have port this tiny-regex-c library to UEFI shell library and implement the regex tool using this library, so I'd like to add a link in this readme.md to the UEFI shell version of this tiny-regex-c library, thank you!

krishna116 avatar Dec 02 '21 04:12 krishna116

Hi @krishna116 and thank you for checking out the library :)

I don't currently link to other forks in the README, so I am not inclined to link to your fork either. Which changes did you make for your UEFI Shell-version?

kokke avatar Dec 20 '21 18:12 kokke

It's no problem.

Which changes did you make for your UEFI Shell-version? The EDK2 doesn't have standard c libraries such as stdio.h and ctype.h, so I used custom defines here:
https://github.com/krishna116/UefiTest/tree/master/KrishnaTestPkg/Application/regex/crt

Nothing need to change tiny-regex-c's code, I just wrap tiny-regex-c's API to UEFI-style-API here: https://github.com/krishna116/UefiTest/blob/master/KrishnaTestPkg/Application/regex/TinyRegexLib.h https://github.com/krishna116/UefiTest/blob/master/KrishnaTestPkg/Application/regex/TinyRegexLib.c

That's all, thanks.

krishna116 avatar Dec 29 '21 02:12 krishna116