projects
/
matthijs
/
master-project
/
report.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf9ee41
)
Allow a word to start with uppercase letters too.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 1 Jul 2009 15:04:19 +0000
(17:04 +0200)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 1 Jul 2009 15:04:19 +0000
(17:04 +0200)
pret-lam.lua
patch
|
blob
|
history
diff --git
a/pret-lam.lua
b/pret-lam.lua
index cf50e87408e1d880d98b2c506a4207879431b2ad..5769a312d94af372d5f319e8300c4550a8cbe3a1 100644
(file)
--- a/
pret-lam.lua
+++ b/
pret-lam.lua
@@
-64,7
+64,7
@@
end
function buffers.visualizers.lam.take_word(str)
-- A word must always start with a-z (in particular, λ is not a valid
-- start of a word).
- res, newstr = utf.match(str, "^([a-z][%a%d_]+)(.*)")
+ res, newstr = utf.match(str, "^([a-z
A-Z
][%a%d_]+)(.*)")
return res, newstr or str
end