• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Windows "." on string.find (1 Viewer)

M0rtiferr

Newcomer
Joined
May 29, 2021
Messages
1
Reaction score
0
When I try to find "." using string.find the answer I get is always 1 1 no matter the position of the . in the string even if a period isnt even in the string. Is there any way I can fix or bypass this?
 

Arghtastic

Newcomer
Joined
Apr 26, 2021
Messages
3
Reaction score
0
. finds everything. So it found something and repeats once. Lua does not use regular expressions because it wants to maintain lightweight portability.
 
Top