Note: I'm not a mg user.
Reading the source (/usr/src/usr.bin/mg/re_search.c), it seems as if it uses regcomp() to compile extended regular expressions. So that ought to mean that it too supports (extended) regular expressions as described by re_format(7). Cheers, On Thu, Jun 07, 2018 at 10:51:38AM +0300, Leonid Bobrov wrote: > Hi! > > ex, vi(1) man page says that it supports regular expressions as > documened in re_format(7). > > But what about mg(1)? Its man page doesn't say anything about > re_format(7). Is everything from re_format(7) true to mg(1) commands > which use regular expressions? If not, where can I find documentation > for regular expressions which mg(1) commands use? > -- Andreas Kusalananda Kähäri, National Bioinformatics Infrastructure Sweden (NBIS), Uppsala University, Sweden. När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: https://mp.uu.se/web/info/stod/dataskyddsforordningen E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: https://mp.uu.se/web/info/stod/dataskyddsforordningen

