Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for wiktor.stribizewâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #281049 |
`sed` only supports POSIX regex flavor. What I mean is you do not need any super-complex regex in case you want to replace an email address in a `E-mail: aaa@bbb.com` string (a line in a file) since you may just use `sed "s/E-mail: .*/E-mail: ${new_email_address}/" file`. Matching arbitrary emails is... (more) |
— | over 3 years ago |
Comment | Post #281049 |
`sed` is used for simple search and replace, and in most cases, it is just used to remove/replace a part of a line after a certain char. I suggest you re-consider the requirements and come up with a more concrete problem statement than "matching emails with POSIX regex". (more) |
— | over 3 years ago |