Portál AbcLinuxu, 7. května 2025 19:53
Řešení dotazu:
na linuxu to nezkompiluju.
To je tak složitý projekt, že ho Mono prostě nedá? Většinou to nějak jde.
svn blame
.
method = "bool methodName"
methodregex = method.replace(' ', '\s+') + r"[^{}]+(?<rec>\{(?:[^{}]++|(?&rec))*\})"
result = regex.search(methodregex,text,flags=regex.VERBOSE)
nlines = int(result.captures('rec')[-1].count('\n') + 1)
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.