mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Trailing .+ was redundant
This commit is contained in:
parent
9333f91533
commit
ba090a1198
@ -76,7 +76,7 @@ export default class DirectorySearchBox extends React.Component {
|
||||
if (!this.input) return false;
|
||||
|
||||
// liberal test for things that look like room aliases
|
||||
return /^#.+:.+/.test(this.state.value);
|
||||
return /^#.+:/.test(this.state.value);
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user