Comments (1)
Thanks for the report. Yes, Go's regexp
package deviates from AWK's handling here, and treats \b
is a word boundary rather than backspace. GoAWK borrows Go's regexp
package rather than implementing its own (which I'm not going to do anytime soon :-), so we're stuck with what it provides.
I think the "word boundary" behaviour is much more useful in any case -- I fairly regularly use \b
as a word boundary, but I've never needed to regex match on backspace.
from goawk.
Related Issues (20)
- Consider adding -Wexec option of mawk and gawk HOT 4
- Add Gawk built-in functions such as mktime and strftime HOT 5
- Should the output of `-d` option be 100% correct AWK code equivalent to the source? HOT 2
- Dynamically changing RS HOT 4
- Code coverage for GoAWK HOT 10
- Semicolon not allowed as terminator for normal pattern without action HOT 2
- Add logfmt support HOT 1
- Add JSON Lines support HOT 2
- Add some tests for the -d, -da, and -dt options
- Add optimization for a[1] -> a["1"]
- Should coverage profiles use relative filenames? HOT 2
- Deleting from array while looping HOT 2
- [Feature Request] Support case when end range pattern is not distinct from start pattern HOT 2
- Error parsing "cond && var=value" HOT 3
- Error parsing $++a
- Add support for 'nextfile'
- Add support for --csv (which Gawk and onetrueawk are adding)
- Wrong order of output with pipe and print HOT 1
- GoAWK 1.23.X fails on gron.awk HOT 7
- Mutually-recursive functions without type info cause compiler panic HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goawk.