Re: [PATCH] RFC: userdiff: add built-in pattern for rust

2019-05-16 Thread Marc-André Lureau
Hi On Fri, May 17, 2019 at 12:17 AM Marc-André Lureau wrote: > > Hi > > On Thu, May 16, 2019 at 10:29 PM Johannes Sixt wrote: > > > > Am 15.05.19 um 20:34 schrieb marcandre.lur...@redhat.com: > > > From: Marc-André Lureau > > > > > > This adds xfuncname and word_regex patterns for Rust, a quite

Re: [PATCH] RFC: userdiff: add built-in pattern for rust

2019-05-16 Thread Marc-André Lureau
Hi On Thu, May 16, 2019 at 10:29 PM Johannes Sixt wrote: > > Am 15.05.19 um 20:34 schrieb marcandre.lur...@redhat.com: > > From: Marc-André Lureau > > > > This adds xfuncname and word_regex patterns for Rust, a quite > > popular programming language. It also includes test cases for the > > xfunc

Re: [PATCH] RFC: userdiff: add built-in pattern for rust

2019-05-16 Thread Johannes Sixt
Am 16.05.19 um 22:29 schrieb Johannes Sixt: > Am 15.05.19 um 20:34 schrieb marcandre.lur...@redhat.com: >> + "[a-zA-Z_][a-zA-Z0-9_]*" >> + >> "|[-+_0-9.eE]+(f32|f64|u8|u16|u32|u64|u128|usize|i8|i16|i32|i64|i128|isize)?" > > I assume that > >+e_1.ei8-e_2.eu128 Make that +

Re: [PATCH] RFC: userdiff: add built-in pattern for rust

2019-05-16 Thread Johannes Sixt
Am 15.05.19 um 20:34 schrieb marcandre.lur...@redhat.com: > From: Marc-André Lureau > > This adds xfuncname and word_regex patterns for Rust, a quite > popular programming language. It also includes test cases for the > xfuncname regex (t4018) and updated documentation. > > The word_regex patter

[PATCH] RFC: userdiff: add built-in pattern for rust

2019-05-15 Thread marcandre . lureau
From: Marc-André Lureau This adds xfuncname and word_regex patterns for Rust, a quite popular programming language. It also includes test cases for the xfuncname regex (t4018) and updated documentation. The word_regex pattern finds identifiers, integers, floats and operators, according to the Ru